Skip to content

Commit

Permalink
xss.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gwen001 committed Nov 26, 2019
1 parent a723b64 commit 468db4d
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions xss.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,14 @@
import re
import time
import base64
import copy
import random
import argparse
import requests
import subprocess
from threading import Thread
from queue import Queue
import urllib.parse
from colored import fg, bg, attr
from multiprocessing.dummy import Pool
import copy

# disable "InsecureRequestWarning: Unverified HTTPS request is being made."
from requests.packages.urllib3.exceptions import InsecureRequestWarning
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)


def rebuiltQuery( t_params ):
Expand Down Expand Up @@ -288,19 +282,10 @@ def doTest( url, method='GET', post_params='' ):
'_vulnerable': _vulnerable,
}

# pool = Pool( _threads )
# pool.map( testURL, t_totest )
# pool.close()
# pool.join()
testURL( args.urls )
exit()


def doWork():
while True:
url = q.get()
testURL( url )
# doSomethingWithResult(status, url)
q.task_done()

q = Queue( _threads*2 )
Expand Down

0 comments on commit 468db4d

Please sign in to comment.