Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    URI::http::Dump 0.03

    Download button

    No screenshots available
    Downloads: 462  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Good (3.6/5)
    12 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Evan Carroll | More programs
    Perl Artistic License / FREE
    July 15th, 2008, 11:14 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    URI::http::Dump description

    A Perl module to assist in the reverse engineering of URL parameters.

    URI::http::Dump is a Perl module to assist in the reverse engineering of URL parameters.

    SYNOPSIS

    ## Whatever you get the picture.
    use constant URI
    => 'http://longassuri:obsecureport'
    . '/stupid_path/segments/probably/not/needed/but/there/for/fun/'
    . 'dumbFile.that.says.nothing.of.security'
    . '?Stupidquerry=HexencodedNonsense&Oth=er&cra=p'
    ;

    use URI::http::Dump;
    URI::http::Dump->new( URI )->makeLifeEasy;

    perl -MURI::http::Dump -e'URI::http::Dump->new("uri")->makeLifeEasy';

    ## Same as.
    perl -MURI::http::Dump -e'mle("http://google.com")'

    ## Overview of process
    $ perl -MURI::http::Dump -e'mle("http://google.com")'
    $ vim url.txt ## change stuff
    $ perl -MURI::http::Dump -e'mle("http://google.com")'
    http://google.com/foobar.do?a=b

    $ firefox $( perl -MURI::http::Dump -e'mle("http://google.com")' ) && vim url.txt


    The simplicity of Unix is in the way it treats (most) everything like a file, and this is just a simplicity mechanism so you can treat URIs as a file too via YAML markup, ie, easily manipulate them with a text editor.

    Say you're trying to reverse engineer a website for the purpose of automation and the URL that is causing annoyance has a shit ton of parameters with numerous different quirks: ie, base64 encoding, custom encoding, hexecoding nonsense, or maybe they just spelt everything in pig latin. Now, for reasons known to the reader, you need to make sense of this: this module will help you.

    This module really has a small scope, and the route of action it takes depends entirely on the existance of the URI's file-store. On the first invocation, before the file-store exists, URI::http::Dump will decompile the URL provided to new() to its basic URI components and store it to a file.

    On the second invocation, URI::http::Dump will compile the URI from the components in the file-store and output the URI to stdout. It will continue on this route for each subsequent invocation until the file-store is deleted. Then it will re-render the file from the arguments to constructor so you can begin the process again.

    Because of the internal function of the URI module query segments encoded and unencoded in the respective steps, ie., the file will probably look more ledgable than the URI by default.

    If you have deep voodoo you need to do to the URI in an automated fashion you can utilize a Moose around method modifier on the ->load or ->dump functions.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    reverse engineering | URL parameters | Perl module | URL | parameters | reverse

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM