- Text Message Spammer Tool
- Text Spammer Online
- Cell Phone Text Spammer
- Text Spammer Tool
- Text Spammer Website
Some of these spam text will automatically enroll you into a 'program' that will charge your att bill $10 or so a month and replying to stop does not help. Even calling the number on your bill to find out what the charge is for will not help.
I need to know the MAC and the IP address of the connect clients, how can I do this in PHP?
hakre
NeveenNeveen
12 Answers
Server IP
You can get the server IP address from $_SERVER['SERVER_ADDR']
.
Server MAC address
For the MAC address, you could parse the output of netstat -ie
in Linux, or ipconfig /all
in Windows.
Client IP address
You can get the client IP from $_SERVER['REMOTE_ADDR']
Client MAC address
The client MAC address will not be available to you except in one special circumstance: if the client is on the same ethernet segment as the server.
So, if you are building some kind of LAN based system and your clients are on the same ethernet segment, then you could get the MAC address by parsing the output of arp -n
(linux) or arp -a
(windows).
Edit: you ask in comments how to get the output of an external command - one way is to use backticks, e.g.
But what if the client isn't on a LAN?
Well, you're out of luck unless you can have the client volunteer that information and transmit via other means.
Paul DixonPaul Dixon
The MAC address of a client (in the sense of the computer that issued the HTTP request) is overwritten by every router between the client and the server.
Client IP is conveniently provided to the script in $_SERVER['REMOTE_ADDR']
. In some scenarios, particularly if your web server is behind a proxy (i.e. a caching proxy) $_SERVER['REMOTE ADDR']
will return the IP of the proxy, and there will be an extra value, often $_SERVER['HTTP_X_FORWARDED_FOR']
, that contains the IP of the original request client.
Sometimes, particularly when you're dealing with an anonymizing proxy that you don't control, the proxy won't return the real IP address, and all you can hope for is the IP address of the proxy.
Michał TatarynowiczMichał Tatarynowicz
I don't think you can get MAC address in PHP, but you can get IP from $_SERVER['REMOTE_ADDR']
variable.
RaYellRaYell
All you need to do is to put arp into diferrent group.
Default:
With command:
you will get:
And because apache is a daemon running under the user www-data, it's now able to execute this command.
So if you now use a PHP script, e.g.:
you will get the output of linux arp -an
command.
Is there a program that you could recommend if adding text to photos is not possible with iPhoto? Best text on photo for mac. I admire your desire to use a bundled application to perform this task, however. Wonderful as iPhoto may be, imposing text on pictures is a lot to ask from a program that was designed largely as a way to organize, display, and lightly edit your digital photos.
Cosmin Pirvu
Text Message Spammer Tool
This is a PHP class for MAC address manipulation on top of Unix, Linux and Mac OS X operating systems. it was primarily written to help with spoofing for wireless security audits.
AliAli
In windows, If the user is using your script locally, it will be very simple :
You can get MAC Address or Physical Address using this code
I used explode many time because shell_exec ('ipconfig/all') return complete detail of all network. so you have to split one by one. when you run this code then you will get
your MAC Address00-##-##-CV-12 //this is fake address for show only.
The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it. I hope your recovery goes well Note: This is a non-Microsoft website. Microsoft outlook for mac update. There is a short video here that shows how to do this on a MAC.
You can use the following solution to solve your problem:
Grant Miller
This works for me on Windows, as ipconfig /all
is Windows system command.
Kevin Guan
Text Spammer Online
AshwinAshwin
under linux using iptables you can log to a file each request to web server with mac address and ip.from php lookup last item with ip address and get mac address.
As stated remember that the mac address is from last router on the trace.
You can do this easily using openWRT. If yo use a captive portal you can mix php and openWRT and make a relation between the IP and the mac.
Cell Phone Text Spammer
You can write a simple PHP code using:
Later, using openWRT you can go to /tmp/dhcp.leases
, you will get something with the form:
There, you have the mac, the IP address and the hostname.
Text Spammer Tool
protected by Community♦Jan 11 '12 at 9:16
Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?