Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 517 Vote(s) - 3.54 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PHP] Steal IP

#11

[To see links please register here]


:epic:


Explanation:

$file = "ip.txt" is a variable saying file is a string containing "ip.txt"

$ip = $_SERVER['REMOTE_ADDR']; is a variable which gets a environment value. $_SERVER['REMOTE_ADDR'] will return your ip.

$handle = fopen($file, 'a'); Create a handle type variable for writing to the ip.txt. a handle is needed for both reading and writing. the 'a' is for appending. 'w' for overwriting. 'r' for reading.

fwrite($handle, "IP Address: "); uses the handle to write to that file saying "IP Adress: "

fwrite($handle, "$ip"); writes your ip adress stored in a variable to the file

fwrite($handle, "\n"); adds a New line to the file like <br> in HTML

fclose($handle); closes the handle in a variable and releases all resources



tell me if i missed anything :smile:


Reply

#12
Oh..I see that but i have already posted it, and i dont can to erase
Reply

#13
Quote:(07-21-2011, 09:49 PM)1234hotmaster Wrote:

[To see links please register here]

no no keep it i don't mind :smile:

lol..okey..

Reply

#14
Quote:(07-21-2011, 09:49 PM)1234hotmaster Wrote:

[To see links please register here]

no no keep it i don't mind :smile:

lol..okey..

Reply

#15
For this and the image one, web server logs work just as well and have much less overhead. They can also tell you how the user got there a lot of the times.
Reply

#16
It works like a dream, now i log their ip's on the image over my login box <3
Reply

#17
Well done ! I prefer the database way
Reply

#18
Thanks ill try it could use this with my new booter source
Reply

#19
I'll use it bro thank for your sharing
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through