AutoRecon/autorecon
goproslowyo fb5ecaf7ee Fix small bug from curl 404 output (#134)
* Fix small bug from curl 404 output

This PR fixes a small bug from when `curl` receives an `HTTP 404` from the web server and the error code is non-zero (in this case `22`). This handles that case in the if statement. There may other error codes that `curl` throws, HTTP-wise, that you may want to catch in the future as well but I didn't run into them.

* Update main.py

Fixed small logic bug.

Co-authored-by: Tib3rius <48113936+Tib3rius@users.noreply.github.com>
2022-01-05 21:23:41 -05:00
..
default-plugins wrap post parameters in quotes (#133) 2022-01-05 20:58:05 -05:00
__init__.py Revert "Reformatted code to be pip compatible." 2021-09-12 13:05:27 -04:00
config.py Minor config changes. 2022-01-05 20:45:50 -05:00
config.toml Minor config changes. 2022-01-05 20:45:50 -05:00
global.toml Reformatted code to be pip compatible. 2021-09-14 15:50:12 -04:00
io.py GitHub Action to lint Python code (#108) 2021-09-21 13:49:11 -04:00
main.py Fix small bug from curl 404 output (#134) 2022-01-05 21:23:41 -05:00
plugins.py Revert "Reformatted code to be pip compatible." 2021-09-12 13:05:27 -04:00
targets.py Minor config changes. 2022-01-05 20:45:50 -05:00