better console output
1 parent c94ead4 commit 67c2b0851e79c2b97bdd95fa6936b909a8cc6a72
root authored on 6 Aug 2021
Showing 1 changed file
View
4
bot.php
if ($ex[4] == $rand){ // response is for this bot
if(isset($ex[5]) && $ex[5] <> ""){ // code for me
echo "[+] got response from ".$ex[4]."\n";
if(get_code_rsp($ex[5]) == "alreadyConnected"){
echo "[-] already connected with ".$ex[4]."\n";
echo "[-] already connected (rsp code)\n";
}else{
echo "[+] new connection with ".$ex[4]."\n";
echo "[+] new connection (rsp code)\n";
}
}else{ echo "[-] no code set\n"; }
}else{ echo "[-] not for me\n"; }
Buy Me A Coffee