Commit Graph

94 Commits

Author SHA1 Message Date
Tib3rius 520cd9c91f Added tag override options for all three types of plugins. 2021-09-09 20:04:30 -04:00
Tib3rius 847bb67743 Update autorecon.py
Made secure/insecure optional for --force-services
Fixed bug with keyboard monitor.
2021-09-09 12:39:06 -04:00
Tib3rius 40eceba382 Added Markdown Report Plugin
Markdown Report Plugin made default.
Added check to ensure that reports aren't generated twice.
2021-09-08 22:00:48 -04:00
Tib3rius 7b833f14dc Merge pull request #104 from drcursor/patch-1
Added shebang line
2021-09-08 21:31:52 -04:00
Tib3rius 2d482110e1 Proxychains bug fixes.
Removed UDP port scans from proxychains.
Fixed bug where running nmap through proxychains as sudo wouldn't work.
2021-09-08 21:30:07 -04:00
Eduardo Balsa bdfc228181 Added shebang line
Added shebang line so that script can be executed directly
2021-09-08 15:03:10 +02:00
Tib3rius 12877aee35 Fix for match_all_service_names
Removed the boolean and resorted to simply adding a "match all" service name regular expression.
2021-09-08 04:18:22 -04:00
Tib3rius 55b928ac64 Added Report Plugin functionality.
Moved http.py to http_server.py to avoid import clashes with Python's http library.
Report plugins can take a list of targets and create reports based on the scans and files.
2021-09-08 00:27:16 -04:00
Tib3rius 6525d77836 Added simple proxychains support.
Command line option --proxychains will add -sT to Nmap scans.
There is no other logic. At some point there should be checks for each plugin.
2021-09-05 12:53:17 -04:00
Tib3rius d9deb6ddd5 Bug fixes and feature update.
Added optional check() function for plugins to check pre-requisites, etc. after plugins are fully loaded and options have been parsed.
Fixed bug in recent commit.
2021-09-04 00:37:37 -04:00
Tib3rius 67fefce2a0 Added ipaddress and ipaddressv6 format tags. 2021-09-03 23:50:40 -04:00
Tib3rius 3974042ca0 Added open port alerts. 2021-09-03 23:10:11 -04:00
Tib3rius 6e81dc8431 Refactoring codebase.
Moved most of the core functionality to modules.
Plugins updates with new module name.
2021-09-01 23:52:16 -04:00
Tib3rius 05d49473c1 New Features
Added ability to add an additional plugins directory instead of overriding the original. Useful for plugin dev.
Also added a new non-default port scan which guesses services based on open ports.
2021-09-01 13:18:09 -04:00
Tib3rius 0b47b66088 Added plugin listing functionality
Added -l / --list to list plugins.
2021-08-31 23:43:06 -04:00
Tib3rius 283f4a725d Tagging system updates.
Now plugin slugs are included in the tags available, meaning you can run specific plugins using their tag.
2021-08-31 19:31:08 -04:00
Tib3rius c2dbc5fbb9 Update autorecon.py
Fixed bug where stdin would get passed to Nmap.
2021-08-31 11:41:17 -04:00
Tib3rius 0ce1770f84 Target handling updates.
Changed Target.type to be either 'ip' or 'hostname'. IP version is now stored in Target.ipversion.
Updated plugins to reflect this.
2021-08-31 11:10:41 -04:00
Tib3rius 112268db43 Changed keyboard control code.
Changed keyboard control to some custom code which should work with all systems. Unfortunately occasionally it will not register inputs. Unsure why. Good enough for now.
2021-08-31 10:51:22 -04:00
Tib3rius fdbf760ef9 IPv6 Plugin Support + Bug Fix
Added a lot of plugin support for IPv6.
Added new {addressv6} template variable.
Fixed bug in new --ports feature.
Added correct global.toml file.
2021-08-29 17:59:38 -04:00
Tib3rius 2c62756441 IPv6 Support
Added IPv6 support.
If a hostname has an IPv4 address, that will be used.
Plugins can either rely on nmap_extra for IPv6 compatibility, or access service.target.type to see if the target address is IPv4 or IPv6.
2021-08-29 16:50:16 -04:00
Tib3rius ccfedf7db4 Updated Config / Global Files
Moved global patterns to the global file.
Placed create-port-dirs = true in config file to see if people notice and like it. ;)
2021-08-29 15:46:03 -04:00
Tib3rius deb36f51d0 Merge branch 'scan-specific-ports' into beta 2021-08-29 15:29:46 -04:00
Tib3rius 01e26b6780 Update autorecon.py
Added colorama objects to import exception handling.
2021-08-29 14:11:21 -04:00
Tib3rius 3c7e1d3c8e Update autorecon.py
Added unidecode to import exception handling.
2021-08-29 14:10:39 -04:00
Tib3rius 6d989c4b62 Keyboard Control Fixes
Added exception handling for required modules.
Added ability to disable keyboard controls.
Added separate keyboard control module for SSH/Docker (running as root).
2021-08-29 14:09:39 -04:00
Tib3rius d84436b6e5 Added compatibility with Nmap-like comments in target files.
Nmap allows comments after the IP / hostname using #. Added the ability to detect and strip out these comments instead of failing.
Closes #101
2021-08-29 00:11:04 -04:00
Tib3rius 29e285c64f Added --ports
Added ability to scan specific ports.
2021-08-28 23:59:01 -04:00
Tib3rius 9a30387fab Update autorecon.py
Fixed bug in plugin system.
2021-08-28 19:08:19 -04:00
Tib3rius 1d8b7b6e34 Bug Fixes & Improvements
Fixed bug where AutoRecon would finish but not output the last few lines.
Added new pattern to config file.
2021-08-28 09:17:16 -04:00
Tib3rius db22d1aac5 Update autorecon.py
Added notes.txt back.
2021-08-28 08:43:11 -04:00
Tib3rius 5011fe294f Update autorecon.py
Added comments.
2021-08-28 08:29:02 -04:00
Tib3rius 10e40b2c53 Updates & Bug Fixes
Updated global option parsing to allow default None values by removing the "default=" setting.
Added a match_service() function to ServiceScan plugins to match combinations of protocol/port/name.
Fixed bug in status times.
Removed defaul from global.domain.
Added new WinRM detection plugin.
2021-08-27 15:16:26 -04:00
Tib3rius 35734efbd0 Update autorecon.py
Added new status update feature. Pressing 's' during a scan will print task details.
2021-08-27 10:18:44 -04:00
Tib3rius 7905036688 Update autorecon.py
Added forced service check. If no services are defined, AutoRecon will error out.
2021-08-27 09:31:33 -04:00
Tib3rius a37e1c98c7 Update autorecon.py
Added ability to force service scans.
2021-08-27 03:01:35 -04:00
Tib3rius cd3388cb67 Merge branch 'beta' of https://github.com/Tib3rius/AutoRecon into beta 2021-08-27 02:35:04 -04:00
Tib3rius ff8d8de2c8 Update autorecon.py
Fixed potential memory leak.
Fixed possible display bug.
2021-08-27 01:29:23 -04:00
Tib3rius 031afa6003 Bug Fix
Fixed a bug where AutoRecon wouldn't restore the terminal after running the help menu in Bash.
2021-08-26 20:14:06 -04:00
Tib3rius b3b81f5de9 Fixed add_list_option()
Previously, add_list_option() used argparse's "append" type. Now it uses nargs='+' to allow multiple options (space separated) that also override defaults rather than appending.
2021-08-26 17:10:17 -04:00
Tib3rius 226d6ea77d New functionality.
Added a stream readlines() function to read all lines into a list.
Added fformat() function, giving plugin authors more access to variables.
Fixed "Curl Robots" plugin (suggestion by Alh4zr3d) so it only saves the robots.txt file if it finds one.
2021-08-24 20:30:13 -04:00
Tib3rius cbf8d5ae5a Added ability to change verbosity by pressing up and down keys. 2021-08-23 23:21:14 -04:00
Tib3rius 766dd870e5 Update autorecon.py
Added filename reference to plugin registering errors.
2021-08-22 08:04:34 -04:00
Tib3rius 8ed8c74882 Bug fixes.
Fixed bug where commands were double formatted when being written to _commands.txt
Fixed bug where plugin warnings would print multiple times per plugin.
2021-08-19 23:18:43 -04:00
Tib3rius 4d9145d326 Update autorecon.py
Added --create-port-dirs option which will create port directories (e.g. tcp80, udp53) in the scans directory and put all relevant scans there.
Now most command line options can be set in the config.toml file as well.
2021-08-17 19:03:29 -04:00
Tib3rius 9b1de4c940 Update autorecon.py
Changed add_service() method to make it more standard.
2021-08-15 19:38:54 -04:00
Tib3rius 666fdbcec5 Update autorecon.py
Fixed bug where inspect.signature() returned different values depending on python version. Using inspect.getfullargspec() instead.
2021-08-15 16:33:55 -04:00
Tib3rius 40dcea93b7 Updated Manual Commands
Manual commands function manual() now requires two arguments to make it more advanced.
2021-08-14 19:41:10 -04:00
Tib3rius 5740efc86c Missed Services Collection
Added feature to collect services which AutoRecon "missed" (i.e. doesn't have plugins for) and report them at the end.
2021-08-13 18:53:59 -04:00
Tib3rius f07f4b6a3f Update autorecon.py
Removing missed service collection for now. Too many bugs.
2021-08-13 18:21:25 -04:00