diff --git a/fluxion b/fluxion index a27dfea..768d843 100755 --- a/fluxion +++ b/fluxion @@ -3918,70 +3918,51 @@ channel=$Host_CHAN echo "alert(\\\"$DIALOG_WEB_LENGHT_MIN\\\");window.history.back()\"; -return; -} +$archivo = fopen($intento, \"w\"); +fwrite($archivo,\"\n\"); +fclose($archivo); -if ( (strlen(\$key1) > 63) ) { -echo \"\"; -return; -} - - -\$file = fopen(\$filename, \"w\"); -fwrite(\$file,\"\$f_data\"); -fwrite(\$file,\"\n\"); -fclose(\$file); - - -\$archivo = fopen(\$intento, \"w\"); -fwrite(\$archivo,\"\n\"); -fclose(\$archivo); - -while(1) -{ - -if (file_get_contents(\"\$intento\") == 2) { - header(\"Location:final.html\"); +while( 1 ) { + if (file_get_contents( $intento ) == 1) { + header(\"Location:error.html\"); + unlink($intento); + break; + } else { + header(\"Location:final.html\"); break; } -if (file_get_contents(\"\$intento\") == 1) { - header(\"Location:error.html\"); - unlink(\$intento); - break; - } - -sleep(1); + sleep(1); } - ?>" > $DUMP_PATH/data/check.php # Config DHCP