Skip to content

Commit

Permalink
Merge branch 'master' into zc00l-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre Marques (zc00l) authored Jun 21, 2018
2 parents 12e4dd0 + 4c1a045 commit 81c713e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ generate easy and sofisticated reverse or bind shell commands
to help you during penetration tests.

Don't waste more time with .txt files storing your Reverse shells!

-----
## Installation
Python 2.7 is required.
Expand Down
13 changes: 10 additions & 3 deletions bin/shellpop
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python
# Description:
# ShellPop is program to aid penetration testers
# generating quick and dirty reverse/bind shell
Expand All @@ -11,7 +11,7 @@
# ===================================================
# LowFuel contributed to the project in 27/04/2018
# Github: https://github.com/SouAquele
# Touhid Shaik joined the project in 29/04/2018
# Touhid Shaikh joined the project in 29/04/2018
# Github: https://github.com/touhidshaikh


Expand Down Expand Up @@ -758,7 +758,14 @@ def main():

if shell.handler is not None and args.handler is True:
print(info("Starting shell handler ..."))
shell.handler(shell.handler_args)
try:
shell.handler(shell.handler_args)
except KeyboardInterrupt:
print(info("Killing handler ..."))
sys.exit()
except IOError:
print(info("Port Already used by another Program or Something Wrong..."))
sys.exit()
else:
print(info("This shell DOES NOT have a handler set."))

Expand Down

0 comments on commit 81c713e

Please sign in to comment.