[UPDATE] README

This commit is contained in:
Prof Isen 2022-03-16 13:31:00 +01:00
parent 518c561f90
commit 5bbbed29e2
3 changed files with 5 additions and 3 deletions

View File

@ -70,6 +70,7 @@ LocalPassword can be used if you chose Crypted=yes (process is slow)
Crypted=no (use netcat or cryptcat)
Rotation is the time between the ratation of all sonde
WebPort is the port to see the result on the web interfaces : http://127.0.0.1:PORT
TimeOut is the number of second before the interrogation failed
```

View File

@ -7,7 +7,7 @@ SondeFile=$(pwd)/sonde.cfg
source service.cfg
source functions
[[ "${Crypted}" == "yes" ]] && NcCmd="timeout 0.1 cryptcat -k ${LocalPassword} ${RemoteIp} ${RemotePort} " || NcCmd="timeout 0.1 nc ${RemoteIp} ${RemotePort}"
[[ "${Crypted}" == "yes" ]] && NcCmd="timeout ${TimeOut} cryptcat -k ${LocalPassword} ${RemoteIp} ${RemotePort} " || NcCmd="timeout ${TimeOut} nc ${RemoteIp} ${RemotePort}"
while read DATA

View File

@ -1,8 +1,9 @@
RemoteIp=127.0.0.1
RemotePort=8080
RemoteIp=192.168.0.22
RemotePort=8990
LocalPassword='Evil@MonitoR-666'
Crypted=no
Rotation=1
TimeOut=2
WebPort=8888