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
68dee13b
Commit
68dee13b
authored
8 years ago
by
Marcin Bury
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Handling empty command.
parent
671d2473
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
shell.py
routersploit/shell.py
+1
-1
No files found.
routersploit/shell.py
View file @
68dee13b
...
...
@@ -24,7 +24,7 @@ def shell(exploit, architecture="", method="", **params):
return
c
=
cmd
.
split
()
if
c
[
0
]
==
"reverse_tcp"
:
if
len
(
c
)
and
c
[
0
]
==
"reverse_tcp"
:
if
len
(
c
)
==
3
:
lhost
=
c
[
1
]
lport
=
c
[
2
]
...
...
This diff is collapsed.
Click to expand it.
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