Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import os,sys,socket,getpass,platform,time,random
- from datetime import datetime
- from PyQt4 import QtGui, QtCore
- from win32api import GetSystemMetrics
- #ip = [i[4][0] for i in socket.getaddrinfo(socket.gethostname(), None)]
- messages = [
- "In the last six months, 14 people from your town have been reported missing.",
- "You haven't checked your Recycle Bin in a long time.",
- "A small needle at the base of your mouse has been gradually collecting your blood.",
- "There is no one left.",
- "Touch your monitor.\n\nIt is warm.\n\nWarm like flesh.\n\nHowever, it is not flesh.\n\nNot yet.",
- "Are you feeling OK?",
- "What's wrong?",
- "What are you hiding?",
- "Who did you tell?",
- "You told someone, didn't you?",
- "I have to clean up the mess you've made.",
- "A directory has been created.\n\n"+os.path.expanduser('~')+"\The_Observer"
- ]
- def payload():
- imgwidth = 256
- imgheight = 128
- x2 = GetSystemMetrics (0) / 2 - (imgwidth / 2)
- y2 = GetSystemMetrics (1) / 2 - (imgheight / 2)
- class Faggot(QtGui.QWidget):
- def __init__(self):
- super(Faggot, self).__init__()
- self.initUI()
- def initUI(self):
- pic = QtGui.QLabel(self)
- pic.setGeometry(0, 0, imgwidth, imgheight)
- pic.setText(random.choice(messages))
- pic.setWordWrap(True)
- pic.setAlignment(QtCore.Qt.AlignCenter)
- self.setGeometry(x2, y2, imgwidth, imgheight)
- self.setFixedSize(imgwidth, imgheight)
- self.setWindowTitle("The Observer")
- self.show()
- def main():
- app = QtGui.QApplication(sys.argv)
- ex = Faggot()
- sys.exit(app.exec_())
- if __name__ == '__main__':
- main()
- newpath = os.path.expanduser('~')+"\AppData\Roaming\Observer"
- creep = os.path.expanduser('~')+"\The_Observer"
- test2 = os.path.exists(newpath)
- creep2 = os.path.exists(creep)
- if test2 == False:
- os.makedirs(newpath)
- if test2 == True:
- pass
- if creep2 == False:
- os.makedirs(creep)
- if creep2 == True:
- pass
- #time.sleep(1)
- confi = newpath+"\conf.ini"
- test = os.path.exists(confi)
- if test == False:
- with open(confi, "w") as Inc:
- Inc.write("30")
- Inc.close()
- quit()
- if test == True:
- f = open(confi, 'r')
- b = int(f.readline())
- b -=1
- with open(confi, 'w') as writeinc:
- writeinc.write(str(b))
- writeinc.close()
- bcheck = b
- print bcheck
- if bcheck <= 0:
- payload()
- if bcheck > 0:
- quit()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement