简体   繁体   中英

php curl via proxy send which mac address

I doing curl connection via curl using free proxies. I wonder curl send my mac address or proxy ips mac adress. How can I find mac address that I send via curl?

curl doesn't control what MAC address is used or have a way of doing this. That's up to the OS/networking stack and whatever adapter was used to make the request.

You can easily spoof the MAC address in Linux and instruct curl to use the adapter with the spoofed address (using CURLOPT_INTERFACE or --interface ).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM