Skip to content
This repository has been archived by the owner on Apr 27, 2023. It is now read-only.

[bug] Lorsrf doesn't work - AttributeError: 'list' object has no attribute 'json' #48

Open
karim-jpg opened this issue Feb 9, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@karim-jpg
Copy link

karim-jpg commented Feb 9, 2022

hello, i'm getting this error

└─# echo 'http://testphp.vulnweb.com/showimage.php' | ./scant3r.py -m lorsrf -x 'http://%PARAM%.xxxxxxxxxx.interact.sh/%PATH%' -M GET 1 ⨯
__ _____
______________ _____ / /|__ /_____
/ / / __ `/ __ / // </ /
( ) // // / / / / // / /
//___/_,// //_/___//

[!] Coded by: Khaled Nassar @knassar702
[!] Version: 0.8#Beta

[INFO][2022-02-03,17:29:25] scant3r -> Run modules.python.lorsrf
[ERROR][2022-02-03,17:29:30] requester -> HTTPSConnectionPool(host='odiss.eu', port=1337): Max retries exceeded with url: /events (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f34e9ab5ac0>: Failed to establish a new connection: [Errno -2] Name or service not known'))
Traceback (most recent call last):
File "/home/kalirobot/Tools/scant3r/./scant3r.py", line 70, in
M.run(opts, Http(opts))
File "/home/kalirobot/Tools/scant3r/core/libs/all/module_loader.py", line 103, in run
res = future.result()
File "/usr/lib/python3.9/concurrent/futures/_base.py", line 438, in result
return self.__get_result()
File "/usr/lib/python3.9/concurrent/futures/_base.py", line 390, in __get_result
raise self._exception
File "/usr/lib/python3.9/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/kalirobot/Tools/scant3r/modules/python/lorsrf/init.py", line 6, in main
Lorsrf(opts, http).start()
File "/home/kalirobot/Tools/scant3r/modules/python/lorsrf/lorsrf.py", line 30, in init
self.host = self.oob_host.new()
File "/home/kalirobot/Tools/scant3r/core/libs/all/hosts.py", line 25, in new
self.host = req.json()['id'] + '.odiss.eu'
AttributeError: 'list' object has no attribute 'json'
@MindPatch
Copy link
Owner

MindPatch commented Feb 9, 2022

hey @karim-jpg thanks for this report, currently we're working on another version of scant3r in rust to improve the performance and clean the code so the bug fixes in the python version are currently stopped, I suggest you use Lorsrf rust module instead

$ echo 'http://testphp.vulnweb.com/showimage.php'  > targets.txt
$ lorsrf --urls targets.txt --wordlist parameters.txt -c "http://%PARAM%.xxxxxxxxxx.interact.sh/%PATH%"

best regards
@knassar702

@karim-jpg
Copy link
Author

hello @knassar702 okay and thank you

@MindPatch MindPatch changed the title AttributeError: 'list' object has no attribute 'json' [bug] Lorsrf doesn't work - AttributeError: 'list' object has no attribute 'json' Mar 9, 2022
@MindPatch MindPatch pinned this issue Mar 9, 2022
@MindPatch MindPatch added the bug Something isn't working label Mar 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants