metalx1000

Windows Batch get Busybox Shell

Jun 5th, 2020
893
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. echo dim xHttp: Set xHttp = createobject("Microsoft.XMLHTTP") > go.vbs
  2. echo dim bStrm: Set bStrm = createobject("Adodb.Stream") >> go.vbs
  3. echo xHttp.Open "GET", "https://frippery.org/files/busybox/busybox.exe", False >> go.vbs
  4. echo xHttp.Send >> go.vbs
  5. echo with bStrm >> go.vbs
  6. echo .type = 1 >> go.vbs
  7. echo .open >> go.vbs
  8. echo .write xHttp.responseBody >> go.vbs
  9. echo .savetofile "busybox.exe", 2 >> go.vbs
  10. echo end with >> go.vbs
  11. cscript go.vbs
  12. del go.vbs
  13. busybox.exe sh
Add Comment
Please, Sign In to add comment