View Single Post
  #1  
Old 28th August 2022, 15:30
BamBam0077 BamBam0077 is offline
Banned
 
Join Date: Jul 2013
P2P
Posts: 410
Smile *phpvpnmod* auto IP address generator mod!
Click the image to open in full size.

Code:
<?php
function rand_createIPstring( $length ) {
    $chars = "0123456789";
    return substr(str_shuffle($chars),0,$length);
}

function rand_createIP2string( $length ) {
    $chars = "0123456789";
    return substr(str_shuffle($chars),0,$length);
}

function rand_createIP3string( $length ) {
    $chars = "0123456789";
    return substr(str_shuffle($chars),0,$length);
}

function rand_createIP4string( $length ) {
    $chars = "0123456789";
    return substr(str_shuffle($chars),0,$length);
}
//now lets fake the accounts ip address like a vpnguardian
$ipaddr = rand_createIPstring(3); // 333.
$ipaddr2 = rand_createIP2string(3); // 333.333.
$ipaddr3 = rand_createIP3string(3); // 333.333.333.
$ipaddr4 = rand_createIP4string(3); // 333.333.333.333
// ended
echo "$ipaddr.$ipaddr2.$ipaddr3.$ipaddr4";
?>
<!-- 30 seconds refresh hack -->
<meta http-equiv="refresh" content="30;">
Click the image to open in full size.

an auto generate IP address mod to use for account-signup / register or for a system_bot user accounts.
Reply With Quote