Strona główna > Back Track 5 > VMware – Back Track 5 Start Up

VMware – Back Track 5 Start Up

Back Track 5 Start  Up

  • Power on/start up Backtrack
  • log in with the default user name and password ( user root, password toor)

root@bt~#

  • start x (the windows gUi)

root@bt~# startx

  • View all the network interfaces on your machine

root@bt~# ifconfig  -a

  • turn up (on) the desired network interface

root@bt~#eth0  ifconfig up

  • Assign an iP address manually

root@bt~# eth0 ifconfig up 192.168.0.1

  • View the manually assigned iP address

root@bt~# ifconfig

  • Assign an iP address through dHcP

root@bt~# dhclient eth0

  • View the dynamically assigned address

root@bt~# ifconfig

  • reboot the machine using the command line interface

root@bt~# reboot

  • Poweroff the machine using the command line interface

root@bt~# poweroff

StartUp.sh


#!/bin/bash

echo "Setting up the victim machine, this will take just a moment..."

ifconfig eth0 down

ifconfig eth0 172.16.45.$((( $RANDOM %254)  1)) up

# uncomment the following lines by removing the #, to start up services on your victim

# please note, you may need to change the location / path depending on your distro

/etc/init.d/ssh start

# note, you may have to generate your SSH key using sshd-generate

/etc/init.d/apache2 start

/etc/init.d/atftpd start

echo "This victim machine is now setup."

echo "The IP address is somewhere in the 172.16.45.0/24 network."

echo "You may now close this window and begin your attack...Good  luck!"

Reklamy
Kategorie:Back Track 5
  1. andrej
    Czerwiec 18, 2012 o 10:37 am

    How to Setup IP Address Manually:

    root@bt:~# ifconfig eth0 192.168.1.8
    root@bt:~# route add default gw 192.168.1.1
    root@bt:~# echo nameserver 192.168.1.1 > /etc/resolv.conf

  2. andrej
    Czerwiec 18, 2012 o 10:39 am

    How to start services:

    root@bt:~# /etc/init.d/openvpn start
    Starting Virtual private network daemon(s)…
    root@bt:~# /etc/init.d/openvpn stop

  3. Styczeń 8, 2013 o 11:35 pm

    I think this is one of the most vital info for me.

    And i’m glad reading your article. But want to remark on some general things, The web site style is perfect, the articles is really great : D. Good job, cheers

  1. No trackbacks yet.

Skomentuj

Wprowadź swoje dane lub kliknij jedną z tych ikon, aby się zalogować:

Logo WordPress.com

Komentujesz korzystając z konta WordPress.com. Wyloguj / Zmień )

Zdjęcie z Twittera

Komentujesz korzystając z konta Twitter. Wyloguj / Zmień )

Facebook photo

Komentujesz korzystając z konta Facebook. Wyloguj / Zmień )

Google+ photo

Komentujesz korzystając z konta Google+. Wyloguj / Zmień )

Connecting to %s

%d blogerów lubi to: