MCPcopy
hub / github.com/s0md3v/XSStrike / reader

Function reader

core/utils.py:203–207  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

201
202
203def reader(path):
204 with open(path, 'r') as f:
205 result = [line.rstrip(
206 '\n').encode('utf-8').decode('utf-8') for line in f]
207 return result
208
209def js_extractor(response):
210 """Extract js files from the response body"""

Callers 1

xsstrike.pyFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected