IP Grabber

By AlexHopper on Aug 16, 2009

i am back and now im not making any more mirc scripts

i starting to make php codes


this well grab the Real Ip and proxy

  • IP joined on - IP/Proxy: 75.24.71.80 - Host: this.is.an.ip.test.com - '
    ' - IP joined on - IP/Proxy: 75.24.71.80, 80.75.239.124 - Host: 80.75.239.124 - '
    =============================^The Real IP^==^The proxy ## ^ProxyH or Real host ^====

it grabs the proxy if it the users proxy Is On and grabs its real ip to

http://alex.xtwocx.net/ip.php

<?php
$hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']);
$img_number = imagecreate(400,95);
$backcolor = imagecolorallocate($img_number,10,102,153);
$textcolor = imagecolorallocate($img_number,255,255,255);

imagefill($img_number,0,0,$backcolor);
$number0 = " This is Your IP/Proxy";
$number1 = " IP: $_SERVER[HTTP_X_FORWARDED_FOR]";
$number2 = " Host/Proxy: $hostname";
$number4 = " _________________________________";

Imagestring($img_number,10,5,5,$number0,$textcolor);
Imagestring($img_number,10,5,25,$number1,$textcolor);
Imagestring($img_number,10,5,45,$number2,$textcolor);
Imagestring($img_number,10,5,50,$number4,$textcolor);
Imagestring($img_number,10,8,50,$number4,$textcolor);
Imagestring($img_number,10,5,10,$number4,$textcolor);
Imagestring($img_number,10,8,10,$number4,$textcolor);

header("Content-type: image/png");
imagepng($img_number);
$file=fopen("Name-here-to-protect-the-File.txt","a");
$file2 = "- IP joined - IP/Proxy: $_SERVER[HTTP_X_FORWARDED_FOR] - Host: $hostname - '\n' ";
fwrite($file, $file2);
fclose($file);
?>

Comments

Sign in to comment.
Jonesy44   -  Nov 25, 2010

PHP has nothing to do with mIRC. You'll need a PHP sequencer to run the code, either online or local. www.php.net

 Respond  
MuttCowboy   -  Dec 31, 2009

I've never used php code with mirc. How does it work?

 Respond  
Flux   -  Dec 17, 2009

How to use this??please responce..i wont a proxy IP.. :C

 Respond  
KronicDreamer   -  Aug 23, 2009

does work w/o textcolor

 Respond  
Cracker200   -  Aug 17, 2009

Búllshít i done it with out em and works fine for meh man ! :-)

 Respond  
AlexHopper   -  Aug 16, 2009

$textcolor = imagecolorallocate($img_number,255,255,255);
if there was no $textcolor the php code won't work

 Respond  
Cracker200   -  Aug 16, 2009

Thank you this is very help full =) But

 Imagestring($img_number,10,5,5,$number0,$textcolor);
Imagestring($img_number,10,5,25,$number1,$textcolor);
Imagestring($img_number,10,5,45,$number2,$textcolor);
Imagestring($img_number,10,5,50,$number4,$textcolor);
Imagestring($img_number,10,8,50,$number4,$textcolor);
Imagestring($img_number,10,5,10,$number4,$textcolor);
Imagestring($img_number,10,8,10,$number4,$textcolor);

WHY all the DAMN $textcolor IT'S NOT NEEDED!!! Good For a Noob though :D

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.