Skip to content

Commit

Permalink
Merge pull request #7 from JohnRyk/patch-1
Browse files Browse the repository at this point in the history
update revshellgen.py
  • Loading branch information
t0thkr1s authored Aug 14, 2021
2 parents cc06f57 + c763711 commit 227137c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion revshellgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# coding=utf-8
import ipaddress
import os
import sys
import urllib.parse
from string import Template
from typing import List
Expand Down Expand Up @@ -34,7 +35,7 @@

choices = ['no', 'yes']
shells = ['/bin/sh', '/bin/bash', '/bin/zsh', '/bin/ksh', '/bin/tcsh', '/bin/dash']
commands = sorted([command for command in os.listdir('commands')])
commands = sorted([command for command in os.listdir(sys.path[0] + '/commands')])


def print_banner():
Expand Down

0 comments on commit 227137c

Please sign in to comment.