bytedeez Posted October 22, 2014 Share Posted October 22, 2014 (edited) Trying to get BadUSB working on my note 3. I downloaded the files from here https://srlabs.de/badusb/. The readme file says to create your own hosts file so I did and saved it as hosts.txt. used the command adb push hosts.txt /data/local/tmp as directed to transfer the file to my note 3. ran sh badusb.sh in the android terminal. Then I get the error saying my hosts file does not exsist. I was thinking that the .txt file extension was wrong but I could not find any documentation to deny or confirm my suspicion. Anyone have a clue? Edited October 22, 2014 by bytedeez Quote Link to comment Share on other sites More sharing options...
Broti Posted October 22, 2014 Share Posted October 22, 2014 Found a hosts file on my Galaxy S2 under /system/etc/ No file extension. So I would suggest you remove the .txt and try again. Maybe confirm the file path by checking with a file browser. Quote Link to comment Share on other sites More sharing options...
bytedeez Posted October 22, 2014 Author Share Posted October 22, 2014 Thanks! I didn't think it was possible to save a file with no extension. But the location of the hosts file isn't the issuse. The script looks for it in /data/local/tmp. And it should be kept separate than your normal host file. Quote Link to comment Share on other sites More sharing options...
bytedeez Posted October 23, 2014 Author Share Posted October 23, 2014 (edited) As it turns out leafpad was actually saving the file as hosts.txt.txt.removed the extra .txt and I'm good.Unfortunately still did not get it working. Edited October 23, 2014 by bytedeez Quote Link to comment Share on other sites More sharing options...
bytedeez Posted October 23, 2014 Author Share Posted October 23, 2014 Once i start the script, i get a loop that says "Waiting for interface rndis0" i imagine the loop is due to configuration within device and that the script will probably need to be patched. Has anyone tried this for themselves? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.