Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
routersploit
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
czos-dpend
routersploit
Commits
ef3449a9
Commit
ef3449a9
authored
Oct 26, 2016
by
Marcin Bury
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Waiting for empty print queue
parent
3ba73ba6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
shell.py
routersploit/shell.py
+5
-0
No files found.
routersploit/shell.py
View file @
ef3449a9
...
@@ -4,6 +4,8 @@ import SimpleHTTPServer
...
@@ -4,6 +4,8 @@ import SimpleHTTPServer
import
BaseHTTPServer
import
BaseHTTPServer
import
threading
import
threading
from
printer
import
printer_queue
from
routersploit.utils
import
(
from
routersploit.utils
import
(
print_info
,
print_info
,
print_error
,
print_error
,
...
@@ -15,6 +17,9 @@ from routersploit.utils import (
...
@@ -15,6 +17,9 @@ from routersploit.utils import (
def
shell
(
exploit
,
architecture
=
""
,
method
=
""
,
**
params
):
def
shell
(
exploit
,
architecture
=
""
,
method
=
""
,
**
params
):
while
1
:
while
1
:
while
not
printer_queue
.
empty
():
pass
cmd
=
raw_input
(
"cmd > "
)
cmd
=
raw_input
(
"cmd > "
)
if
cmd
in
[
"quit"
,
"exit"
]:
if
cmd
in
[
"quit"
,
"exit"
]:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment