[UPDATE] README

This commit is contained in:
2022-03-16 13:31:00 +01:00
parent 518c561f90
commit 5bbbed29e2
3 changed files with 5 additions and 3 deletions
+1
View File
@@ -70,6 +70,7 @@ LocalPassword can be used if you chose Crypted=yes (process is slow)
Crypted=no (use netcat or cryptcat) Crypted=no (use netcat or cryptcat)
Rotation is the time between the ratation of all sonde 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 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
``` ```
+1 -1
View File
@@ -7,7 +7,7 @@ SondeFile=$(pwd)/sonde.cfg
source service.cfg source service.cfg
source functions 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 while read DATA
+3 -2
View File
@@ -1,8 +1,9 @@
RemoteIp=127.0.0.1 RemoteIp=192.168.0.22
RemotePort=8080 RemotePort=8990
LocalPassword='Evil@MonitoR-666' LocalPassword='Evil@MonitoR-666'
Crypted=no Crypted=no
Rotation=1 Rotation=1
TimeOut=2
WebPort=8888 WebPort=8888