View previous topic :: View next topic |
Author |
Message |
Sting9x Expert Cheater Reputation: 0
Joined: 27 Jul 2016 Posts: 124
|
Posted: Tue Jan 10, 2017 7:20 am Post subject: Scan IP in click Button |
|
|
Hello, I have an idea I have an idea. Is there any code to the click on the button will immediately scan the user's IP , I get ideas from this article http://forum.cheatengine.org/viewtopic.php?t=601158
|
|
Back to top |
|
|
akumakuja28 Master Cheater Reputation: 16
Joined: 28 Jun 2015 Posts: 432
|
Posted: Tue Jan 10, 2017 3:18 pm Post subject: |
|
|
Code: |
function getIP()
grabinternet=getInternet()
IP_Read = grabinternet.getURL("http://whatsmyip.net/")
--print(IP_Read)
local find = [[<acronym title="Internet Protocol">IP</acronym> Address is <input type="text" value=]]
local find_2 = [[" /></h1>
<br />
<h1 class="ip">]]
local A = (string.find (IP_Read, find))
local C = (string.find (IP_Read, find_2))
IP = string.sub (IP_Read,A+85,C-1)
print(IP)
end
getIP()
|
I dont know why i did this. Feel like this is a bad idea?
_________________
|
|
Back to top |
|
|
Corroder Grandmaster Cheater Supreme Reputation: 75
Joined: 10 Apr 2015 Posts: 1667
|
Posted: Tue Jan 10, 2017 10:19 pm Post subject: |
|
|
via JAVA / HTML script made it simple
Code: | <script type="text/javascript">
var userip;
</script>
...
<script type="text/javascript" src="https://l2.io/ip.js?var=userip"></script>
...
<script type="text/javascript">
document.write("Your IP is :", userip);
</script> |
Copy and paste script above to notepad, save as blabla.html, next just double click it to see your IP.
|
|
Back to top |
|
|
|