Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2.2 #142

Merged
merged 24 commits into from Jun 10, 2018
Merged

Release 2.2 #142

merged 24 commits into from Jun 10, 2018

Conversation

Ekultek
Copy link
Contributor

@Ekultek Ekultek commented Jun 8, 2018

In 2.2 we have a few bugs resolved

  • Issue where relevant module sorting fails fixed
  • Issue where services would not be started fixed
  • Creates a script where you can run autosploit easily run_autosploit.sh
  • Creates a script where you can dry run autosploit dryrun_autosploit.sh
  • Allows a flag for dry runs to be passed
  • Minor updates and other commits

Selora and others added 22 commits April 9, 2018 10:15
* API keys token file reading error fix
When reading an API key file, tokens are not stripped properly. Non-standard endlines causes an error with shodan/censys/etc APIs

* Added a dry-run flag.
When running without the terminal and the --dry-run flag, msfconsole will not be run.
A report will still be produced.

* Sanitized whitelist comparision with host file.
All leading and trailing whitespaces should be removed before comparing IPs

* Added an --exploit-file-to-use option.

Load exploits directly from the specified file, do not prompt for
exploit-file selection if this option is specified.

* Added --append/--overwrite to search engines.
Specifying either will skip the prompt after a search query.
--overwrite will start with a blank file but will append futher searches
ex: with -s -c --overwrite, both shodan and censys results will be appended to a clean file.

* Search all fix for append/overwrite flags.
Search results is not prompted anymore

* Modified the Exploiter output.

Added a tally at the end.
Suppressed much of the output during a dry-run.

* Bugfix, --exploit-file-to-use

Output an error message to the console if the specified exploit file does not exists.

* Added short arguments for --append/--overwrite

* Closing program if invalid file is passed to --exploit-file-to-use
* Scripts to automate autosploit.
./dryrun_autosploit.sh will search censys/shodan/etc and do a dry-run against discovered hosts that are in the whitelist.
VALIDATE THE DRYRUN REPORT BEFORE LAUNCHING THE ACTUAL EXPLOIT RUN
./run_autosploit.sh will run autosploit in exploit mode against previously discovered hosts in the whitelist.

* Removed blocking MSF modules from default module list.

Added a fuzzers-only json file.
In the same idea, Trans2open exploits are taking about 2h+ per host to run.
Maybe implement a "long run" feature in the next release?

* Added a vagrant config to easily deploy autosploit to aws-lightsail.
COMES WITHOUT WARRANTY. Use as a starting point.
Tweaks to make it usable for dev:
	- Setup a synced folder with your autosploit dev in the Vagrantfile
		Refer to vagrant doc.
	- Use vagrant rsync-auto

Since vagrant file cannot really be shared as-is, some tweakings might be necessary.
Try:
-Modifying the Vagrantfile according to your ssh keys path
-Installing the aws-cli pacakge
-Configuring ~/.aws directory

* Bugfix and improvements:
Successful exploits will start meterpreter in background.
Fixed counter for successful exploits/failed exploits bug, counting success/failure occurence, not line outputs.
Success/failures now grepping escaped MSF output for success/failures.
Grepping for keywords such as "Meterpreter", "Session" for success.
@Ekultek Ekultek requested a review from NullArray June 8, 2018 16:22
Copy link
Owner

@NullArray NullArray left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

YoloSploit

@NullArray NullArray merged commit 190d232 into master Jun 10, 2018
@Turkishcod
Copy link

Discord Server link not working
kindly update
thanks

@Ekultek
Copy link
Contributor Author

Ekultek commented Jun 13, 2018

@Turkishcod this invite will last for 24 hours.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants