Results 1 to 4 of 4

Thread: Little Sitecloner-Script

  1. #1
    Just burned his ISO
    Join Date
    Apr 2011
    Posts
    12

    Default Little Sitecloner-Script

    Hi

    I just want to share a little script which i just made:

    Code:
    #!bin/sh
    
    # wget Websitecloner-Script
    
    echo Enter URL:
    read URL
    echo
    echo Enter Download-Directory:   # if not existing it will be created
    read DD
    echo Do you want to clone the whole website or just the index.html? hole/index # type whole for the whole site and index for index.html
    read WHOLE
    if [ -d "$DD" ]
    then
        cd $DD
    else
        mkdir $DD
        cd $DD
    fi
    if $HOLE = whole
    then
        wget -r --page-requisites --convert-links -U Mozilla -erobots=off -w 5 $URL
    else
        wget --page-requisites --convert-links -U Mozilla -erobots=off -w 5 $URL
    fi
    echo
    echo site cloned


    I know that its not a big thing but i felt like posting it and that it might help some beginners who want to clone a website into a custom directory

    Greets Jodokus

    EDIT: Updated the script....
    Last edited by Jodokus; 07-05-2011 at 05:06 PM.

  2. #2
    Junior Member M00kaw's Avatar
    Join Date
    Oct 2010
    Location
    127.0.0.1
    Posts
    47

    Default Re: Little Sitecloner-Script

    Fun little neat script

    Thanks for sharing!

  3. #3
    Just burned his ISO
    Join Date
    Apr 2011
    Posts
    12

    Default Re: Little Sitecloner-Script

    No problem

    Thanks for commenting!

  4. #4
    Just burned his ISO
    Join Date
    Jul 2009
    Posts
    19

    Default Re: Little Sitecloner-Script

    Guessing this is used for phising, which now these days hardly work against anyone as most browsers will detect this sorta activity, providing you use the cloned site for phising.

Similar Threads

  1. Replies: 6
    Last Post: 10-08-2010, 11:40 PM
  2. Replies: 10
    Last Post: 07-12-2010, 03:04 PM
  3. WPA script
    By procraft7399 in forum OLD Newbie Area
    Replies: 27
    Last Post: 04-29-2009, 10:10 AM
  4. Looking for a Script.
    By Steel9 in forum OLD Newbie Area
    Replies: 15
    Last Post: 04-04-2009, 07:22 PM
  5. LZM Script/lzm2dir script
    By unseen in forum OLD Tutorials and Guides
    Replies: 2
    Last Post: 11-29-2007, 02:51 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •