Bravo List
Register
Go Back   > Bravo List > P2P > Forum > Tutorials
Reply
Thread Tools
  #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
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 08:40. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.