Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Help with a program

Name: Anonymous 2008-12-01 18:45

So /prog/ I want to write a java program that searches the internet.  But i don't mean something gay like google i mean starts with http://a.com then http://b.com so on and so on searching every possibility including sub dirs and so on.

Where should I start

so far i have

import.java.util.*

Name: Anonymous 2008-12-01 18:56

What?

Name: java? why not. 2008-12-01 19:01

import java.io.*
import java.net.*

Name: noobs 2008-12-01 21:04


just hack google's servers and steal their code.

take a look at the movie swordfish to get an idea where to start your hacker training

Name: Anonymous 2008-12-01 21:37

BRUTE FORCE THE INTERNET

Name: Anonymous 2008-12-01 22:01

RAPE THE INTERNET
TAKE IT BY FORCE

Name: Anonymous 2008-12-01 22:10

USE REGULAR EXPRESSIONS

Name: Anonymous 2008-12-01 22:28

  _   _ ___ ___   ___ ___ _  _ ___ _____ ___  
 | | | / __| __| | __|_ _| \| |_ _|_   _| __| 
 | |_| \__ \ _|  | _| | || .` || |  | | | _|  
  \___/|___/___| |_| |___|_|\_|___| |_| |___| 
                                              
    _  _   _ _____ ___  __  __   _ _____ _    
   /_\| | | |_   _/ _ \|  \/  | /_\_   _/_\   
  / _ \ |_| | | || (_) | |\/| |/ _ \| |/ _ \  
 /_/ \_\___/  |_| \___/|_|  |_/_/ \_\_/_/ \_\ 
                                              

Name: Anonymous 2008-12-01 22:50

>>7
NOW YOU HAVE TWO PROBLEMS

Name: Saguser II 2008-12-01 23:02

Ten BBCODIZED rapes per second!
RAPE RAPE RAPE RAPE RAPE
RAPE RAPE RAPE RAPE RAPE

Name: Anonymous 2008-12-01 23:13

import java.*

FINISHED!

Name: Anonymous 2008-12-02 5:23

_ __ __ _ _ __   ___
| '__/ _` | '_ \ / _ \
| | | (_| | |_) |  __/
|_|  \__,_| .__/ \___|
          |_|

Name: Anonymous 2008-12-02 6:07

>>9

Is this some kind of Raymond Chen meme?

Name: Anonymous 2008-12-02 18:06

>>13
レイモンド ちぇえええええええええええええええええええええん

Name: Anonymous 2008-12-02 21:41

to actually brute-force the internet, you'd have to come up with a list of all possible ip addresses, a list of all possible domain names, and a list of all possible paths on a web server, and then do something like this (pseudo-code):
for ip in ip_addresses
  for name in domain_names
    for path in paths
      connection = connect( address = ip, port = 80 )
      send( connection, "GET " + path + " HTTP/1.1\nHost: " + name + "\n\n" )
      close( connection )


you could probably speed it up a bit by connecting to several ip addresses in parallel, but it'd still be slow as fuck.

Name: Anonymous 2008-12-02 21:42

>>15
also, please don't do that. the entire internet will hate you.

Name: Anonymous 2008-12-02 22:27

>>15
actually, you'd have to try all possible ports as well. and other protocols like gopher and ftp.

Name: Anonymous 2008-12-02 23:09

>>15
Fortunately we can construct the lists ip_addresses, domain_names and paths using brute force. I am implementing the algorithm outlined here as we speak.

Name: Anonymous 2008-12-02 23:37

>>15
Not a bad idea.

Name: Anonymous 2008-12-03 0:10

#!/usr/bin/env perl

my(@ip_addresses, @domain_names, @paths);
my @ports=0..65535;
for $a (1..254) {
 for $b (1..254) {
  for $c (1..254) {
   for $d (1..254) {
    next if $a == 10 or $a == 127 or $a == 192 && $b = 168 or $a == 172 && $b >= 16 && $b <= 31;
    push(@ip_addresses, "$a.$b.$c.$d");
}}}}
my @tlds = qw(.aero .asia .biz .cat .com .coop .edu .gov .info .int .jobs .mil .mobi .museum .name .net .org .pro .tel .travel .ac .ad .ae .af .ag .ai .al .am .an .ao .aq .ar .as .at .au .aw .ax .az .ba .bb .bd .be .bf .bg .bh .bi .bj .bm .bn .bo .br .bs .bt .bv .bw .by .bz .ca .cc .cd .cf .cg .ch .ci .ck .cl .cm .cn .co .cr .cu .cv .cx .cy .cz .de .dj .dk .dm .do .dz .ec .ee .eg .er .es .et .eu .fi .fj .fk .fm .fo .fr .ga .gb .gd .ge .gf .gg .gh .gi .gl .gm .gn .gp .gq .gr .gs .gt .gu .gw .gy .hk .hm .hm .hn .hr .ht .hu .id .ie .il .im .in .io .iq .ir .is .it .je .jm .jo .jp .ke .kg .kh .ki .km .kn .kp .kr .kw .ky .kz .la .lb .lc .li .lk .lr .ls .lt .lu .lv .ly .ma .mc .md .me .mg .mh .mk .ml .mm .mn .mo .mp .mq .mr .ms .mt .mu .mv .mw .mx .my .mz .na .nc .ne .nf .ng .ni .nl .no .np .nr .nu .nz .om .pa .pe .pf .pg .ph .pk .pl .pm .pn .pr .ps .pt .pw .py .qa .re .ro .rs .ru .rw .sa .sb .sc .sd .se .sg .sh .si .sj .sk .sl .sm .sn .so .sr .st .su .sv .sy .sz .tc .td .tf .tg .th .tj .tk .tl .tm .tn .to .tp .tr .tt .tv .tw .tz .ua .ug .uk .us .uy .uz .va .vc .ve .vg .vi .vn .vu .wf .ws .ye .yt .yu .za .zm .zw .xn--0zwm56d .xn--11b5bs3a9aj6g .xn--80akhbyknj4f .xn--9t4b11yi5a .xn--deba0ad .xn--g6w251d .xn--hgbk6aj7f53bba .xn--hlcj6aya9esc7a .xn--jxalpdlp .xn--kgbechtv .xn--zckzah .arpa ) # there are way too many of these.


... you can do the rest.

Name: Anonymous 2008-12-03 6:10

for $a (1..254) {
for $b (1..254) {
  for $c (1..254) {
   for $d (1..254) {

Terrible!

Name: Anonymous 2008-12-03 6:13

>>21
how would you do it?

Name: Anonymous 2008-12-03 6:20

>>22
Using the correct address ranges.  And probably not using the reserved variables $a and $b.

Name: Anonymous 2008-12-03 6:31

>>23
And probably not indenting it correctly, if your quoting in >>21 is any indication.

Name: Anonymous 2008-12-03 9:07

Don't forget port knocking!

Don't change these.
Name: Email:
Entire Thread Thread List