w9w/JSA

Need Help Regarding Error

bhuwanpatidar opened this issue · 1 comments

I am getting

kali@kali-HP-Lapx:~/Desktop/Bug_Bounty/Urls/JSA$ echo "http(s)://target.com/" | ./automation.sh
Fetching js files with subjs tool..
Launching Gau with wayback..
Fetching URLs for 404 js files from wayback..
Now crawling web pages..
2024/09/24 19:08:40 Error parsing URL: Input must be a valid absolute URL
Searching for URLs in GH..
:1: SyntaxWarning: invalid escape sequence '.'
/home/kali/Desktop/Bug_Bounty/Urls/JSA/github-endpoints.py:17: SyntaxWarning: invalid escape sequence '-'
url_chars = '[a-zA-Z0-9-.?#$&@%=:/][]'
/home/kali/Desktop/Bug_Bounty/Urls/JSA/github-endpoints.py:18: SyntaxWarning: invalid escape sequence '-'
not_url_chars = '[^a-zA-Z0-9\-\.\?\#\$&@%=_:/\]\[]'
/home/kali/Desktop/Bug_Bounty/Urls/JSA/github-endpoints.py:48: SyntaxWarning: invalid escape sequence ')'
r'['"(].(http[s]?://'+_url_chars+'?)['")]',
/home/kali/Desktop/Bug_Bounty/Urls/JSA/github-endpoints.py:51: SyntaxWarning: invalid escape sequence '.'
r''"(',
/home/kali/Desktop/Bug_Bounty/Urls/JSA/github-endpoints.py:52: SyntaxWarning: invalid escape sequence '.'
r''"(',
/home/kali/Desktop/Bug_Bounty/Urls/JSA/github-endpoints.py:53: SyntaxWarning: invalid escape sequence '.'
r''"(',
/home/kali/Desktop/Bug_Bounty/Urls/JSA/github-endpoints.py:54: SyntaxWarning: invalid escape sequence '.'
r''"(',
/home/kali/Desktop/Bug_Bounty/Urls/JSA/github-endpoints.py:55: SyntaxWarning: invalid escape sequence '.'
r''"(',
/home/kali/Desktop/Bug_Bounty/Urls/JSA/github-endpoints.py:56: SyntaxWarning: invalid escape sequence '.'
r''"(',
/home/kali/Desktop/Bug_Bounty/Urls/JSA/github-endpoints.py:57: SyntaxWarning: invalid escape sequence '.'
r''"(',
/home/kali/Desktop/Bug_Bounty/Urls/JSA/github-endpoints.py:58: SyntaxWarning: invalid escape sequence '.'
r''"(',
/home/kali/Desktop/Bug_Bounty/Urls/JSA/github-endpoints.py:59: SyntaxWarning: invalid escape sequence '.'
r''"(',
/home/kali/Desktop/Bug_Bounty/Urls/JSA/github-endpoints.py:271: SyntaxWarning: invalid escape sequence '-'
regexp = r'(([0-9a-z-.]+.)?([0-9a-z
-]+)?'+t_host_parse.domain+'([0-9a-z_-.]+)?.[a-z]{1,5})'
/home/kali/Desktop/Bug_Bounty/Urls/JSA/github-endpoints.py:274: SyntaxWarning: invalid escape sequence '.'
regexp = r'((([0-9a-z-.]+).)?' + _domain.replace('.','.')+')'
usage: github-endpoints.py [-h] [-t TOKEN] [-d DOMAIN] [-e] [-a] [-r] [-s]
[-v]
github-endpoints.py: error: auth token is missing
grep: warning: ? at start of expression
Printing deep-level js files..
Searching for endpoints..
cat: tmp/all_endpoints1nsxcIgwkbeDzafYQh5ErLl.txt: No such file or directory
Checking our js files for sweet credentials..Arjun parameters discovery..rm: cannot remove 'tmp/all_endpoints1nsxcIgwkbeDzafYQh5ErLl.txt': No such file or directory
kali@kali-HP-Laptopx:~/Desktop/Bug_Bounty/Urls/JSA$

can you help with this

w9w commented

Hi, you received an error since the provided URL isn't valid. It should be https://target.com/ or http://target.com/, not http(s)://target.com/
Correct usage:
image
I see that http(s) is indicated in the usage section. I updated it so as not to confuse anyone. Btw, I updated installation in installation.sh as it wasn't updated for 4 years and returned errors. Thank you for flagging.