MCPcopy Create free account

hub / github.com/DanMcInerney/xsscrapy / functions

Functions72 in github.com/DanMcInerney/xsscrapy

↓ 6 callersMethodmake_payload
Make the payload with a unique delim
xsscrapy/spiders/xss_spider.py:440
↓ 3 callersMethodget_elem_position
Iterate through all elements in doc and match them up against the element found during xpathing
xsscrapy/pipelines.py:871
↓ 3 callersMethodmake_item
Create the vuln item
xsscrapy/pipelines.py:779
↓ 3 callersMethodopposite_quote
Return the opposite quote of the one give, single for double or double for single
xsscrapy/pipelines.py:583
↓ 3 callersMethodwrite_to_file
(self, item, spider)
xsscrapy/pipelines.py:998
↓ 2 callersMethodevent_attributes
HTML tag attributes that allow javascript TAKEN OUT AT THE MOMENT
xsscrapy/pipelines.py:977
↓ 2 callersFunctionfill_login_form
(url, body, username, password)
xsscrapy/loginform.py:72
↓ 2 callersMethodget_quote_context
Goes through char by char to determine if double or single quotes are open or not: True/None
xsscrapy/pipelines.py:545
↓ 2 callersMethodopposite
Returns the obj as either True or None
xsscrapy/pipelines.py:575
↓ 2 callersMethodurl_item_filtering
Make sure we're not just repeating the same URL XSS over and over
xsscrapy/pipelines.py:948
↓ 2 callersMethodurl_processor
Get the url domain, protocol, and netloc using urlparse
xsscrapy/spiders/xss_spider.py:538
↓ 1 callersFunction_pick_fields
Return the most likely field names for username and password
xsscrapy/loginform.py:45
↓ 1 callersFunction_pick_form
Return the form most likely to be a login form
xsscrapy/loginform.py:40
↓ 1 callersMethodaccurate_attr
lxml cannot determine the order of attrs which is important if we're using regex to find the location of the inj so this func finds t
xsscrapy/pipelines.py:742
↓ 1 callersMethodattr_breakout
(self, tag, attr, attr_val, delim, line)
xsscrapy/pipelines.py:401
↓ 1 callersMethodchange_params
Returns a list of complete parameters, each with 1 parameter changed to an XSS vector
xsscrapy/spiders/xss_spider.py:501
↓ 1 callersMethodcombine_regex_lxml
Combine lxml injection data with the 2 regex injection search data
xsscrapy/pipelines.py:635
↓ 1 callersMethoddecomment_js
Remove commented JS lines which screw with quote detection
xsscrapy/pipelines.py:314
↓ 1 callersMethodgetURLparams
Parse out the URL parameters
xsscrapy/spiders/xss_spider.py:493
↓ 1 callersFunctionget_args
()
xsscrapy.py:13
↓ 1 callersMethodget_attr_quote
Return the first quote in the string which should always be the html quote if this is called on a string of html with an attr
xsscrapy/pipelines.py:382
↓ 1 callersMethodget_breakout_chars
Returns either None if no breakout chars were found or a list of sets of potential breakout characters
xsscrapy/pipelines.py:270
↓ 1 callersMethodget_filename
(self, url)
xsscrapy/pipelines.py:22
↓ 1 callersMethodget_lxml_matches
(self, full_match, body, resp_url, delim)
xsscrapy/pipelines.py:592
↓ 1 callersMethodget_single_payload_queries
Make a list of lists of tuples where each secondary list has 1 payloaded param and the rest are original value
xsscrapy/spiders/xss_spider.py:401
↓ 1 callersMethodget_unfiltered_chars
Pull out just the unfiltered chars from the reflected chars payload = delim+fuzz+delim+;9
xsscrapy/pipelines.py:707
↓ 1 callersMethodget_user_agent
(self, header, payload)
xsscrapy/spiders/xss_spider.py:597
↓ 1 callersMethodhtml_parser
(self, body, resp_url)
xsscrapy/pipelines.py:600
↓ 1 callersFunctionmain
()
xsscrapy.py:26
↓ 1 callersFunctionmain
()
xsscrapy/loginform.py:82
↓ 1 callersMethodmake_URLs
Create the URL parameter payloaded URLs
xsscrapy/spiders/xss_spider.py:350
↓ 1 callersMethodmake_cookie_reqs
Generate payloaded cookie header requests
xsscrapy/spiders/xss_spider.py:329
↓ 1 callersMethodmake_form_reqs
Payload each form input in each input's own request
xsscrapy/spiders/xss_spider.py:271
↓ 1 callersMethodmake_header_reqs
Generate header requests
xsscrapy/spiders/xss_spider.py:575
↓ 1 callersMethodmake_iframe_reqs
Grab the <iframe src=...> attribute and add those URLs to the queue should they be within the start_url domain
xsscrapy/spiders/xss_spider.py:238
↓ 1 callersMethodmake_url_reqs
Make the URL requests
xsscrapy/spiders/xss_spider.py:558
↓ 1 callersMethodparse_attr_xpath
Find all tags with attributes that contain the subbed str
xsscrapy/pipelines.py:881
↓ 1 callersMethodparse_comm_xpath
Parse the xpath comment search findings
xsscrapy/pipelines.py:898
↓ 1 callersMethodparse_resp
The main response parsing function, called on every response from a new URL Checks for XSS in headers and url
xsscrapy/spiders/xss_spider.py:159
↓ 1 callersMethodparse_text_xpath
Creates injection points for the xpath that finds the payload in any html enclosed text
xsscrapy/pipelines.py:914
↓ 1 callersMethodpayload_end_of_url
Payload the end of the URL to catch some DOM(?) and other reflected XSSes
xsscrapy/spiders/xss_spider.py:449
↓ 1 callersMethodpayload_url_path
Payload the URL path like: http://example.com/page1.php?x=1&y=2 --> http://example.com/page1.php/FUZZ/?x=1&y=2
xsscrapy/spiders/xss_spider.py:381
↓ 1 callersMethodpayloaded_lines
(self, body, payload)
xsscrapy/pipelines.py:772
↓ 1 callersMethodsqli_check
Do a quick lookup in the response body for SQL errors. Both w3af's and DSSS.py's methods are in here but sectoolsmarket.com shows DSSS as hav
xsscrapy/pipelines.py:125
↓ 1 callersFunctionsubmit_value
Returns the value for the submit input, if any
xsscrapy/loginform.py:63
↓ 1 callersMethodtag_breakout
(self, tag, line)
xsscrapy/pipelines.py:321
↓ 1 callersMethodunclaimedURL_check
(self, body)
xsscrapy/pipelines.py:217
↓ 1 callersMethodurl_valid
(self, url, orig_url)
xsscrapy/spiders/xss_spider.py:224
↓ 1 callersMethodxpath_inj_points
Searches lxml doc for any text, attributes, or comments that reflect the subbed text
xsscrapy/pipelines.py:802
↓ 1 callersMethodxss_logic
XSS logic. Returns None if vulnerability not found The breakout_chars var is a list(set()). This ensure we can test for breakout giv
xsscrapy/pipelines.py:231
Method__init__
(self)
xsscrapy/pipelines.py:19
Method__init__
(self, path=None)
xsscrapy/bloomfilters.py:9
Method__init__
(self, *args, **kwargs)
xsscrapy/spiders/xss_spider.py:37
Method__str__
Prevent the item from being printed to output during debugging
xsscrapy/items.py:21
Method__str__
Prevent the item from being printed to output during debugging
xsscrapy/items.py:28
Function_form_score
(form)
xsscrapy/loginform.py:11
Methodclose
(self, reason)
xsscrapy/bloomfilters.py:23
Methodconfirm_login
Check that the username showed up in the response page
xsscrapy/spiders/xss_spider.py:132
Methodfrom_settings
(cls, settings)
xsscrapy/bloomfilters.py:14
Methodget_reflected_chars
Check for the special chars and append them to a master list of tuples, one tuple per injection point Always returns a string
xsscrapy/pipelines.py:940
Methodlogin
Fill out the login form and return the request
xsscrapy/spiders/xss_spider.py:117
Methodopen_spider
(self, spider)
xsscrapy/pipelines.py:30
Methodparse_start_url
Creates the XSS tester requests for the start URL as well as the request for robots.txt
xsscrapy/spiders/xss_spider.py:78
Methodpayload_url_vars
Payload the URL variables
xsscrapy/spiders/xss_spider.py:461
Methodprocess_item
(self, item, spider)
xsscrapy/pipelines.py:33
Methodprocess_request
(self, request, spider)
xsscrapy/middlewares.py:22
Methodprocess_request
(self, request, spider)
xsscrapy/middlewares.py:36
Methodrequest_seen
(self, request)
xsscrapy/bloomfilters.py:17
Methodrobot_parser
Parse the robots.txt file and create Requests for the disallowed domains
xsscrapy/spiders/xss_spider.py:142
Methodstart_requests
If user and pw args are given, pass the first response to the login handler otherwise pass it to the normal callback function
xsscrapy/spiders/xss_spider.py:93
Methodunescape_payload
Unescape the various payload encodings (html and url encodings)
xsscrapy/pipelines.py:929
Methodxss_chars_finder
Find which chars, if any, are filtered
xsscrapy/spiders/xss_spider.py:603