Simulation of SMS

This commit is contained in:
butomo1989
2017-04-12 14:25:12 +02:00
parent 7b7238f156
commit dd047035a9
6 changed files with 80 additions and 9 deletions
+5
View File
@@ -0,0 +1,5 @@
#!/bin/bash
ip=$(ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}')
socat tcp-listen:5554,bind=$ip,fork tcp:127.0.0.1:5554 &
socat tcp-listen:5555,bind=$ip,fork tcp:127.0.0.1:5555