grahamzemel / WebHeckScanner

A hacking tool for bug bounties. Sharing and modifying is encouraged!
https://grahamzemel.com/projects/web-heck-scanner
GNU General Public License v3.0
232 stars 51 forks source link

Not working #4

Closed tusharvaidya16 closed 1 year ago

tusharvaidya16 commented 1 year ago

Hey !!!

I tried multiple way to run the script but always come up with below error so could you please tell me how to fix it.

Creating directories and running Nikto... ./webHeck.sh: line 19: nikto/program/nikto.pl: No such file or directory Running gau to collect subdomains... ./webHeck.sh: line 23: req_solos/gau: No such file or directory Total targets: 0... ./webHeck.sh: line 25: req_solos/anew: No such file or directory ./webHeck.sh: line 25: req_solos/gauplus: No such file or directory cat: subsToFilter.txt: No such file or directory Running Nuclei... ./webHeck.sh: line 34: nuclei/nuclei: No such file or directory Running sqlmap... ./webHeck.sh: line 30: sqlmap/sqlmap.py: No such file or directory Filtering targets... ./webHeck.sh: line 43: req_solos/httpx: No such file or directory

Apart from this I installed all this tools. but still i don't know what is the issue here!

grahamzemel commented 1 year ago

If you've installed all the tools, you'll need to make sure the directory is formatted as shown on the ReadMe. Here's the formatting from README.md:

WebHeckScanner/ -README.md
-webHeck.sh
-nikto/
-nuclei/
-sqlmap/
-req_solos/
--anew
--gau
--gauplus
--httpx
--pv
--waybackurls

Anything with a / on the end is a directory or folder, so for req_solos (required solo scripts), make sure to place all 6 scripts in that folder. Nikto, Nuclei, and Sqlmap will all have their own projects, so make sure to place those folders just like I have.

If seeing it in something like a code editor helps, here's mine:

Screen Shot 2022-11-18 at 12 39 41 PM

Otherwise, you can manually a different path in webHeck.sh for each tool you need to access.

tusharvaidya16 commented 1 year ago

Hello Grahamzemel,

As you mentioned, I have the same structure as you but still I am facing issues.

[image: image.png]

On Fri, Nov 18, 2022 at 5:43 PM Graham Zemel @.***> wrote:

If you've installed all the tools, you'll need to make sure the directory is formatted as shown on the ReadMe. Here's the formatting from README.md https://github.com/grahamzemel/WebHeckScanner/blob/main/README.md#directory-tree-graph :

WebHeckScanner/ -README.md -webHeck.sh -nikto/ -nuclei/ -sqlmap/ -req_solos/ --anew --gau --gauplus --httpx --pv --waybackurls

Anything with a / on the end is a directory or folder, so for req_solos (required solo scripts), make sure to place all 6 scripts in that folder. Nikto, Nuclei, and Sqlmap will all have their own projects, so make sure to place those folders just like I have.

If seeing it in something like a code editor helps, here's mine: [image: Screen Shot 2022-11-18 at 12 39 41 PM] https://user-images.githubusercontent.com/69569628/202767879-eaefa849-a35d-4cc3-ac2a-5c1b25003c60.png

Otherwise, you can manually a different path in webHeck.sh for each tool you need to access.

— Reply to this email directly, view it on GitHub https://github.com/grahamzemel/WebHeckScanner/issues/4#issuecomment-1320334336, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHKTDYKATJC3GBEL3EHQS2DWI653DANCNFSM6AAAAAASEWOS7Q . You are receiving this because you authored the thread.Message ID: @.***>

--

Thanks & Regards

Tushar Vaidya

Cyber Security Researcher

Mobile +353-899-556570

Email @. @.>

grahamzemel commented 1 year ago

Interesting. I'm actually unable to view your image, I'm not sure I can see it if you use email to reply to the Github discussion.

After reviewing and running the current code published, I found that I received the same error. This is odd, as it was fully functional upon my last upload, so there may have been an external change or something might have just slipped past me.

WebHeckScanner v2.0

Regardless, I have updated each related path to all file pointers, and as of today [11/18/22], the script works as intended after downloading directly from Github and using the command ./webHeck.sh -n 'googleHack' -u 'google.com'

This should work with other sites and names and all of that, but copying and pasting that command should not cause you to receive any errors. Thanks for letting me know about this issue, please re-download the repository and attempt the command again, or copy and paste the new contents of webHeck.sh into your local webHeck.sh.