No such file or directory: 'src/webattack/tabnabbing/source.js'
Why does site clone cause this issue? please help me
-
Java Applet Attack Method 2) Metasploit Browser Exploit Method 3) Credential Harvester Attack Method 4) Tabnabbing Attack Method 5) Web Jacking Attack Method 6) Multi-Attack Web Method 7) HTA Attack Method
-
Return to Main Menu
set:webattack>5
The first method will allow SET to import a list of pre-defined web applications that it can utilize within the attack.
The second method will completely clone a website of your choosing and allow you to utilize the attack vectors within the completely same web application you were attempting to clone.
The third method allows you to import your own website, note that you should only have an index.html when using the import website functionality.
-
Web Templates
-
Site Cloner
-
Custom Import
-
Return to Webattack Menu
set:webattack>2
-- * IMPORTANT * READ THIS BEFORE ENTERING IN THE IP ADDRESS * IMPORTANT * ---
The way that this works is by cloning a site and looking for form fields to rewrite. If the POST fields are not usual methods for posting forms this could fail. If it does, you can always save the HTML, rewrite the forms to be standard forms and use the "IMPORT" feature. Additionally, really important:
If you are using an EXTERNAL IP ADDRESS, you need to place the EXTERNAL IP address below, not your NAT address. Additionally, if you don't know basic networking concepts, and you have a private IP address, you will need to do port forwarding to your NAT IP address from your external IP address. A browser doesn’t know how to communicate with a private IP address, so if you don't specify an external IP address if you are using this from an external perspective, it will not work. This isn't a SET issue this is how networking works.
set:webattack> IP address for the POST back in Harvester/Tabnabbing [192.168.244.146]:
[-] SET supports both HTTP and HTTPS
[-] Example: http://www.thisisafakesite.com
set:webattack> Enter the url to clone: https://www.google.com
[] Cloning the website: https://www.google.com
[] This could take a little bit...
[!] Something went wrong, printing the error: [Errno 2] No such file or directory: 'src/webattack/tabnabbing/source.js'
The error is solved as follows: sudo curl https://raw.githubusercontent.com/trustedsec/social-engineer-toolkit/5e057388e5b7ea521d4658f3e22c874d52bb4f43/src/webattack/tabnabbing/source.js -o /usr/share/set/src/webattack/tabnabbing/source.js
This Error can be solved if you run this command
sudo curl https://raw.githubusercontent.com/trustedsec/social-engineer-toolkit/5e057388e5b7ea521d4658f3e22c874d52bb4f43/src/webattack/tabnabbing/source.js -o /usr/share/set/src/webattack/tabnabbing/source.js
Credit @sebastianabello
Ran the curl command and it's still not running with clone or import. tried recloning/reinstalling and still no luck. source.js is there and has the proper content.
Ran the curl command and it's still not running with clone or import. tried recloning/reinstalling and still no luck. source.js is there and has the proper content.
Same problem here. Did you manage to solve it?
sudo wget https://raw.githubusercontent.com/trustedsec/social-engineer-toolkit/5e057388e5b7ea521d4658f3e22c874d52bb4f43/src/webattack/tabnabbing/source.js -O /usr/share/set/src/webattack/tabnabbing/source.js报错 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to raw.githubusercontent.com port 443 after 8 ms: Could not connect to server
so s😞d
sudo wget https://raw.githubusercontent.com/trustedsec/social-engineer-toolkit/5e057388e5b7ea521d4658f3e22c874d52bb4f43/src/webattack/tabnabbing/source.js -O /usr/share/set/src/webattack/tabnabbing/source.js报错 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to raw.githubusercontent.com port 443 after 8 ms: Could not connect to server
How about giving this command a try? It worked for me.
sudo curl https://github.com/trustedsec/social-engineer-toolkit/blame/patch-1/src/webattack/tabnabbing/source.js -o /usr/share/set/src/webattack/tabnabbing/source.js