[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

How do you get a URL of the format 0x********? Example: ht

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 16
Thread images: 5

File: gril.jpg (279KB, 950x1280px) Image search: [Google]
gril.jpg
279KB, 950x1280px
How do you get a URL of the format 0x********?

Example: http://0xa484e61f/
>>
It starts by not posting pig disgusting 3D "girls".
>>
File: gril2.gif (2MB, 360x240px) Image search: [Google]
gril2.gif
2MB, 360x240px
bump
>>
>>57413420
It's essentially an unsigned long (IP) coded as hex.

You can do it with any IP, let's take my closest Google node for example which is 172.217.16.206.

Let's convert that to a long:
2899906766

Now let's convert that to hex:
ACD910CE

And:
http://0xACD910CE/
>>
>>57413523
Cool.

Thank you very much.
>>
>>57413523
can you be more specific about how you convert it into a long? the numbers don't match so I'm not sure how it was done
>>
File: 3f00974e7cf2859be3713d3088d27bfa.jpg (270KB, 1310x1010px) Image search: [Google]
3f00974e7cf2859be3713d3088d27bfa.jpg
270KB, 1310x1010px
>>57413541
http://lmgtfy.com/?q=IP+into+long
>>
>>57413506
nice
>>
>>57413541
172*2^24 + 217*2^16 + 16*2^8 + 206
>>
>>57413541
An IP address is nothing more than a 32-bit number and the common representation is 4 octets delimited by a dot.

You can do it simply with logical operators:
octet1 | octet2 << 8 | octet3 << 16 | octet4 << 24
>>
>>57413453
fpbp
>>
>>57413420

your browser evaluates it into a4.84.e6.1f
>>
>>57413571
Sauce??
>>
File: q0ohy9wl.png (120KB, 393x298px) Image search: [Google]
q0ohy9wl.png
120KB, 393x298px
>>57414114
>>
>>57413420
who's dis ?
>>
>>57415198
jumpsuitedmonster.tumblr.com

Portal roleplayer.
Thread posts: 16
Thread images: 5


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.