IP hiding behind freekin' number
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

IP hiding behind freekin' number

Started by enema, 22 December, 2004, 18:23:33

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

enema

Have anyone saw something like this before? try to connect to this number (as an address) 1357446059 and it really works! It connects to hub! What the hell is that? How does it possible?

n1ck

Ive seen that before, cant remember where tho, its not a mac addy - or hex?
dcuk.direct-connect.co.uk

**compiled bots are like what microsoft is to open source!**

UwV

\NL   The knowledge and skills you have achieved are meant to be forgotten so you can float comfortably in emptiness, without obstruction.
" Holly loves me,...  . "      ;o)

& don't forget, the motto is :
  -- SUPPORT YOUR LOCAL DJ'S --

[PT]CableGuy

#3
QuoteOriginally posted by enema
...How does it possible?...
Like mentioned , it's only a calculation between decimal and hexadecimal numbers.
Take a look at the following link , that contains a java applet , capable to calculate the ip address.

A Java calculator with intuitive controls

plop

QuoteOriginally posted by [PT]CableGuy
QuoteOriginally posted by enema
...How does it possible?...
Like mentioned , it's only a calculation between decimal and hexadecimal numbers.
Take a look at the following link , that contains a java applet , capable to calculate the ip address.

A Java calculator with intuitive controls
hex = 0 1 2 3 4 5 6 7 8 9 a b c d e f.
dec = 0 1 2 3 4 5 6 7 8 9
but an ip = xxx.xxx.xxx.xxx, where xxx can be from 0 to 255.
this can be converted into decimal format in the next way.
(xxx * 16777216) + (xxx * 65536) + (xxx * 256) + (xxx).
maby best 2 explain it with an example from binairy format.
0000 = 0
0001 = 1
0010 = 2
0011 = 3
0100 = 4
which can be turned into.
0.0.0.0 = 0
0.0.0.1 = 1
0.0.1.0 = 2
0.0.1.1 = 3
0.1.0.0 = 4
only on ip's it goes from 0 to 255 instead of 0 to 1.
so 0.0.1.1 makes 257 (the 1st 1 = 256, and the last is 1).

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

kepp

OK, i need a headache pill now, lol
Guarding    

chill

#6
To Compute and DeCompute

----------------------------------------------------------------------------------
--// 			Compute IP
----------------------------------------------------------------------------------
function ComputeIP(curIP)
	local _,_,a,b,c,d = strfind(curIP, "^(%d+)%.(%d+)%.(%d+)%.(%d+)$")
	return a*16777216 + b*65536 + c*256 + d
end


----------------------------------------------------------------------------------
--// 			DeCompute IP
----------------------------------------------------------------------------------
function DeComputeIP(cIP)
	local temp1 = mod(cIP,16777216)
	local temp2 = mod(temp1,65536)
	return (floor(cIP/16777216).."."..floor(temp1/65536).."."..floor(temp2/256).."."..floor(mod(temp2,256)))
end

there is also a way for decomputing from rabid wombat, somewhere  I think it was for i = 1, 4 do
something^weird
end

* found it
function Int64ToIPString(iIP)

   local sRet = "";

   for j = 0, j < 4, 1 do

      if( j ~= 0) then sRet = "." .. sRet; end

      sRet = mod(iIP, 256) .. sRet;

      iIP = floor(iIP / 256);

   end



   return sRet;

end
but working finest

enema

#7
I know, this should be in request section, but it allso fits here... Could you guys create an antispam script that kicks users if they type so big numbers in chat like these? please!

blackwings

#8
QuoteOriginally posted by enema
I know, this should be in request section, but it allso fits here... Could you guys create an antispam script that kicks users if they type so big numbers in chat like these? please!
well I think this can kick innocent users.

But a script that report to operator, but only if the script can convert the number to a possible IP (non of the number is above 255 in the IP), then it will report to the OP the user's username + the whole message which this number was in(maybe also show the number in the orignal way and the converted version made by script, like = 3563445622/212.33.112.85).


SMF spam blocked by CleanTalk