Skip to content

materaj2/setup_binary_lab_with_tcpserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

setup_binary_lab_with_tcpserver

Setup binary lab with TCPServer for CTF

  1. Setup environment
apt-get install ucspi-tcp
  1. Create shell script (test.sh)
#!/bin/bash

## Receive input from network
read msg 
echo "Hello "$msg
  1. Create socket for receive input with tcpserver
tcpserver -t 50 -RHl0 0.0.0.0 31337 ./test.sh
  1. Connect with netcat
echo "testing" | nc localhost 31337

About

Setup binary lab with TCPServer for CTF

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages