fix: added a default route for MAC addresses
there were issues with MAC addresses not having a valid route when it couldn't find the right route
This commit is contained in:
@@ -11,13 +11,9 @@ tmux -2 attach -t bindshell
|
||||
workspace = false
|
||||
dependencies = ["build"]
|
||||
script = '''
|
||||
set -eux
|
||||
tmux new-session -d -s revshell 'docker-compose up examples_revshell_server'
|
||||
sleep 1
|
||||
IP=$(docker-compose exec examples_revshell_server ip a show eth0 | awk '/inet/{print $2}' | awk -F'/' '{print $1}')
|
||||
echo $IP
|
||||
sleep 1
|
||||
COMMAND="target/debug/ex-revshell-beacon $IP"
|
||||
tmux split-window -h "$COMMAND"
|
||||
tmux split-window -h "target/debug/ex-revshell-beacon $IP"
|
||||
tmux -2 attach -t revshell
|
||||
'''
|
||||
Reference in New Issue
Block a user