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

A small Python URL bruteforce

Name: Anonymous 2013-07-31 15:46

Hello /prog/, I need help with, well, programming.

I want to bruteforce URLs of the form sys.AAA.org/XXXX/BBB in python and sort the results by success or failure (determined by the returned text). AAA is a given website and BBB a given address.

XXXX is a 1 to 4 characters word using lowercase letters and numbers that I need to bruteforce.

Any tips or example on how to make a very simple bruteforce code in Python, I'm very new to this ?

Name: Anonymous 2013-08-01 18:31

>>15
Haskell sucks because programming is 99% about "side effects" than mathematical formulas.

Please note the use of quotes for 'side effects'. They are called 'side effects', although they are the most interesting part of programming. It's the part that things happen inside a computer that change the world.

Haskell makes it really difficult to write useful code (where useful means 'with side effects').

They may show you how to create 'infinite' number sequences and process them.

Cool. Ask them to make a Model-View-Controller application in Haskell, where the model is a tree of nodes. Trivial in imperative languages, hard as hell in Haskell: you have to use the Zipper monad, mix the useful code with visitation to the tree code, because the only way to modify tree node links in Haskell is via local parameters...

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