Labels

Friday, December 2, 2011

how to install virtual box on backtrack without error

Make friends who menggalami errors when installing Virtual Box on Backtrack 5, then try the following manner, ^ ^

1. Download Virtual Box here
2. Then Perform installation as below:

root @ bt: ~ / Downloads # ./VirtualBox-4.0.10-72479-Linux_x86.run
bash: ./VirtualBox-4.0.10-72479-Linux_x86.run: Permission denied
root @ bt: ~ / Downloads # chmod + x VirtualBox-4.0.10-72 479-Linux_x86.run
root @ bt: ~ / Downloads # ./VirtualBox-4.0.10-72479-Linux_x86.run
Verifying archive integrity ... All good.
Uncompressing VirtualBox for Linux installation ...........
VirtualBox Version 4.0.10 r72479 (2011-06-24T13: 43:27 Z) installer
Installing VirtualBox to / opt / VirtualBox
tar: Record size = 8 blocks
Python found: python bindings installing ...
Building the VirtualBox kernel modules

VirtualBox has been installed successfully.

Will you find useful information about using VirtualBox in the user manual
   / opt / VirtualBox / UserManual.pdf
and in the user FAQ
   http://www.virtualbox.org/wiki/User_FAQ

We Hope that you enjoy using VirtualBox.

good luck...
Continue Reading »

Thursday, December 1, 2011

How to install postgresql in backtrack

Some of the companions may have heard about db_autopwn which typically uses postgresql as the database to perform the attack exploits, excessive use menggurangi db_autopwn is that we can use the time to carry out attacks.

root @ bt: ~ # apt-get install ruby libpgsql postgresql-libpq-dev
root @ bt: ~ # su postgres
sh-4.1 $ createuser root-P
Could not change directory to "/ root"
Enter password for new role:
Enter it again:
Shall the new role be a superuser? (y / n) n
Shall the new role be allowed to create databases? (y / n) n
Shall the new role be allowed to create more new roles? (y / n) n
sh-4.1 $ createdb - owner = root metasploit
Could not change directory to "/ root"
exit
sh-4.1 $ exit
exit

selamat mencoba..
Continue Reading »

Sunday, November 20, 2011

How to install phpmyadmin in linux

This time I will explain how to install phpmyadmin on linux. Here are the steps:

1. $ Su -
2. # Cd / var / www / html
3. # Wget-c http://prdownloads.sourceforge.net/phpmyadmin/ phpMyAdmin-2.11.3-english.tar.gz? Download
4. # Tar xvfz phpMyAdmin-2.11.3-english.tar.gz
5. # Mv phpMyAdmin-2.11.3-bahasa phpmyadmin
6. # Cd phpmyadmin
7. # Cp config.inc.php config.sample.inc.php
8. # Vi config.inc.php: $ cfg ['Servers'] [$ i] ['auth_type'] = 'http'; # default is cookies:
9. # Service httpd restart...
Continue Reading »

how to install the synaptic package manager in backtrack

Make new friends and regular use ubuntu, it may be difficult to manage applications in backtrack, therefore the application needed to manage it like diubuntu, for example, Synaptic Package Manager or Ubuntu Software Center. So we now will do the installation on the second application on our Backtrack.

1. Install Synaptic Package Manager.
root @ bt: ~ # apt-get install synaptic


Display Synaptic Package Manager on Backtrack 5 R1.



2. Go to System> Administration> Software Sources, on the Ubuntu Software tab check all the options of Downloadable from the Internet.



3. Install Ubuntu Software Center.
root @ bt: ~ # apt-get install software-center

Ubuntu Software Center on Backtrack 5 R1.


good luck
Continue Reading »

Sunday, November 13, 2011

How to run webgoat 5.3 standard on BT4

hi all,

this is not a real howto but some hints to let you play with WebGoat in BT4.

First download webgoat from this link and visit the OWASP WebGoat pages for more info about WebGoat.

Next you have to install p7zip to extract the archive, you can do this with the apt package manager from console running

apt-get install p7zip

and then extract the archive using

p7zip -d WebGoat-OWASP_Standard-5.3_RC1.7z

You can leave it in your root folder but if you like "clean desktops" move it inside /pentest/web/webgoat, you can do this from terminal with

mkdir /pentest/web/webgoat
mv WebGoat-5.3_RC1/* /pentest/web/webgoat

now make /pentest/web/webgoat/webgoat.sh executable with

chmod +x /pentest/web/webgoat/webgoat.sh

and then install openjdk-6-jre and openjdk-6-jdk with apt:

apt-get install openjdk-6-jre openjdk-6-jdk

Now you can run webgoat on port 80 or 8080 running

sh /pentest/web/webgoat/webgoat.sh start80 or sh /pentest/web/webgoat/webgoat.sh start8080

and to stop tomcat and webgoat use

sh /pentest/web/webgoat/webgoat.sh stop

Open up firefox and connect to http://127.0.0.1/webgoat/attack or http://127.0.0.1:8080/webgoat/attack according to the port you use to run tomcat. the username and password are both guest.

OWASP provide some intresting readings, you can find them on OWASP wiki and on the books page.

Hope this helps noobs like me who want to learn something about webapp security.

Continue Reading »

Saturday, November 12, 2011

How to using latest Sun Java JRE

1. download latest JRE
Download Java software for Linux
Linux (self-extracting file)

2.
Code:
 mkdir /opt/java && cd /opt/java && sh /xx/xx/{your downloaded xx.bin file}
(will create: /opt/java/jre1.6.0_21)


3.
Code:
 update-alternatives --install "/usr/bin/java" "java" "/opt/java/jre1.6.0_21/bin/java" 1

4.
Code:
 update-alternatives --set java /opt/java/jre1.6.0_21/bin/java

5.
Code:
 ln -s /opt/java/jre1.6.0_21/lib/i386/libnpjp2.so /usr/lib/mozilla/plugins/
Note: don't use /opt/java/jre1.6.0_21/plugin/i386/ns7/xxx.so


6. add JAVA_HOME to your bash environment, like
export JAVA_HOME=" /opt/java/jre1.6.0_21/bin/java"
into (~/.bashrc)


test if correct java JRE is in use:
Code:
 java -version
7. restart firefox and new java plugin should be available
about:plugins

/brtw2003
Continue Reading »

Friday, November 11, 2011

Getting BROADCOM Wireless to work in BackTrack!

So you are new to BackTrack and your wireless doesn't work out of the box?

No problem!

There are several ways to solve this problem and I'll show you two ways!

All this ways requires that you have a ethernet connection ( a wired connection ).

BEFORE YOU TRY THESE, MAKE SURE YOU'VE RAN APT-GET INSTALL UPGRADE & APT-GET INSTALL UPDATE BEFORE IF YOU ARE RUNNING BACKTRACK 4 FINAL - IT'S ALWAYS GOOD TO UPGRADE.

Using jockey-gtk
This is the most simple one.

Log into BackTrack as root and run these commands:

Code:
/etc/init.d/networking start
apt-get install jockey-gtk
jockey-gtk

Then follow the instructions on the program that starts.



Downloading drivers manually
Go to: Broadcom.com - 802.11 Linux STA driver
And download the tarball for your system (32 or 64).

Run the following in the terminal:

Code:
/etc/init.d/networking start
tar xzf nameoffile.tar.gz

cd thefolderyouget
make clean
make
Now let's check if you have any conflicting drivers (you shouldn't, they doesn't come with BT.)

Code:
lsmod  | grep "b43\|ssb\|wl"

If any of these are installed, remove them:
rmmod b43
rmmod ssb
rmmod wl

Then let's insmod the driver:


Code:
modprobe lib80211
insmod wl.ko
Congratulations! You are up and running!


Note: You maybe have to start network through the KDE "start menu" before you get the WICD manager up, then you should see networks.

If you can't connect to a wireless network, try changing WPA supplicant driver.
Continue Reading »