Commit Graph

91 Commits

Author SHA1 Message Date
Tib3rius 24f71534dd Update autorecon.py
Fixes #68

Instead of messing around with limits, we should ignore any line longer than 64 KiB, as it is likely invalid data of some kind anyway.
2021-08-03 00:08:40 -04:00
Tib3rius 1be32aa034 Fixed bug in manual commands function.
The manual commands function will now merge command arrays instead of replacing them, while removing duplicate commands and preserving order.
Added a default option to get_global / get_global_option function in case user deletes global options.
Updated several plugins that use global options.
2021-08-02 19:35:49 -04:00
Tib3rius c92e594f77 Reformatting & API Function Name Updates
Switched spaces to tabs throughout for consistency.
Changed add_port_match() to match_port()
Changed add_service_match() to match_service_name()
Removed un-used variables.
2021-08-02 19:13:09 -04:00
Tib3rius 6ce5654d06 Update autorecon.py
Removed several instances of commented out code.
Added exception handling for process killing code.
2021-08-01 17:32:28 -04:00
Tib3rius 6117b5f180 Update autorecon.py
Replaced bool variable with boolean to avoid type confusion.
2021-08-01 16:55:36 -04:00
Tib3rius 70e6eec782 AutoRecon v2 Beta Release
Effectively an initial commit since this is 95% rewritten code.
2021-07-31 21:06:28 -04:00
Samuel Dowling 0b03f7b801
Added packaging constructs to allow installation using `pip` or `pipx` (#48)
* Restructured program to enable packaging. Moved main into its own function and resolved global dependency issues. Configured pyproject.toml

* Restructured configuration management such that configuration files are stored in the default user configuration directory for the OS they're using, utilising appdirs

* Added exclusion for byte compiled python files

* Removed build files from version control

* Restructured config file initialisation into a function so that it can be called by the entrypoint main() function

* Resolved issues updating global variables from within function scope. Added global identifiers to global variables to make them more readily identifiable as such

* Formatting revision

* Updated documentation to reflect package installation instructions and usage

* Grammatical revision to improve instructional clarity

* Added default sudo for udp scans to prompt for password to elevate privileges

* Added an installation command for all required packages to the README

* Added manual installation instructions, clarification of oscp vm limitations installing pip3, and instructions on how to elevate privileges when installed with pipx

* Formatting revision to improve clarity of instructions and added requirements.txt

* Removed hardcoded sudo commands from default scan configurations

* Changed suggestion to add alias to .bashrc to .profile as this is what's used by default in kali to set initial temrinal conditions

* Fixed error in manual installation that would have resulted in installing python2 packages
2020-04-30 22:48:23 -04:00
Tib3rius d5b3122d8f
Removing extra whitespace from lines in target file. 2020-02-10 15:03:51 -05:00
Tib3rius a2a466721e Added functionality to specify a list of targets in a file.
Closes #27
2019-10-18 21:20:41 -04:00
Tib3rius 163f8c3961 Formatting fixes. 2019-10-17 22:32:21 -04:00
Tib3rius c13628119e Merge branch 'master' of git://github.com/the-c0d3r/AutoRecon into the-c0d3r-master 2019-10-17 22:31:25 -04:00
the-c0d3r 73c99c6dd9 autorecon.py: fixed termios setattr missing argument 2019-10-18 09:22:14 +08:00
Tib3rius 05e384faea Added command line option to provide a list of targets in a file. 2019-10-17 20:48:36 -04:00
Vasilij Schneidermann 457757a174 Resolve symlinks to script path correctly (#23)
Previously: If a symlink to autorecon.py is executed, the
configuration directory is found relative to the current directory
Now: The symlink is resolved and the configuration directory is found
relative to the symlink target
2019-10-17 19:47:30 -04:00
the-c0d3r a5f9509c01 autorecon.py: added termios to restore the flags 2019-10-14 22:07:39 +08:00
Tib3rius 359ba3b2f3 Added elapsed time calculation to initial nmap scans.
Added timestamp to heartbeat messages.
2019-09-21 16:53:39 -04:00
Tib3rius cb6a88314a Add regular "heartbeat" status message for running tasks.
Fixed small bug in elapsed time calculation.
2019-09-20 22:28:50 -04:00
Tib3rius e9c6273144 Added an elapsed time calculation for both individual targets and the entire program run. 2019-09-16 15:03:46 -04:00
Tib3rius 4d79a9e340 Added --single-target and --only-scans-dir options. 2019-09-12 14:34:24 -04:00
the-c0d3r a965613262 autorecon.py: fixed stdin/stdout issue 2019-07-05 07:05:59 +08:00
Tib3rius 557de5f2f0 Added a final completion message indicating that all targets were scanned. 2019-06-18 14:10:20 -04:00
Tib3rius 94bcf17e49 Fixed onesixtyone scan bug. 2019-04-06 22:46:46 -04:00
Tib3rius 31c469e86b Commands now run via bash instead of sh.
patterns.log renamed to _patterns.log and is no longer created by default.
New "catch all" service scan added, with an sslscan command that only runs if Nmap detects SSL/TLS.
Added a new HTTP scan to screenshot the index page.
2019-04-04 16:46:48 -04:00
Tib3rius bc25d8310b Moved config files to new config directory.
Fixed bug where writing matched patterns would cause exception.
Updated several service scans.
2019-03-29 23:37:11 -04:00
Tib3rius e88d5396e0 Fixed bug where AutoRecon would attempt to iterate over a None. 2019-03-29 10:15:58 -04:00
Tib3rius 99f82f2d7c Matched patterns now get saved to scans/patterns.log
Added lock to prevent multiple asynchronous functions from writing to the same file(s) at the same time.
Moved HTTP Server pattern to nmap-http service scan.
Updated several service scans to use tee so that output is also written to stdout and can be captured.
Moved one gobuster manual command to a scan.
2019-03-28 23:36:30 -04:00
Tib3rius 7db7f13622 Added service-specific pattern matching.
Updated pattern matching output.
2019-03-26 15:14:03 -04:00
Tib3rius 0448e4a204 Merge branch 'pattern-detection' 2019-03-26 13:51:40 -04:00
Tib3rius c8ba082901 service-scans.toml now uses an improved format for configuring scans.
Updated README.md to reflect changes in the tool.
2019-03-26 13:46:25 -04:00
Tib3rius 38bf0e4552 Added global pattern matching. 2019-03-26 12:08:52 -04:00
Tib3rius ead957b8c2 Added --nmap and --nmap-append options to allow users to alter nmap scan options. 2019-03-25 21:00:58 -04:00
Tib3rius 679ea05457 Fixed bug with run_once.
Added xml directory in scandir for XML output.
Modified commands to ouput XML to the new xml directory.
2019-03-22 19:29:42 -04:00
Tib3rius a45c14aa5e Removed extraneous comment. 2019-03-22 19:09:10 -04:00
Tib3rius a7f9d0b97b Merge branch 'patch-2' of git://github.com/moshekaplan/AutoRecon into moshekaplan-patch-2 2019-03-18 18:40:24 -04:00
Tib3rius ccacd200bc Re-ordered imports. 2019-03-18 18:35:23 -04:00
Tib3rius e68575cabd Merge branch 'patch-1' of git://github.com/moshekaplan/AutoRecon into moshekaplan-patch-1 2019-03-18 18:12:26 -04:00
Tib3rius 8dc24e9e26 Fixed a bug where event loop would be closed before another host was scanned. 2019-03-07 18:33:25 -05:00
Moshe Kaplan 7614493c54
Minor changes to argparser 2019-03-03 17:01:10 -05:00
Moshe Kaplan c33c1043f5
Remove unused imports and specific exception 2019-03-03 16:49:40 -05:00
Tib3rius 2e2ee592e3 Formatting changes in the _manual_commands.txt file. 2019-03-02 12:51:29 -05:00
Tib3rius 5da7e57474 Initial commit 2019-03-01 18:58:19 -05:00