Metasploit Connect_db

root@bt:~# ruby1.8 /pentest/exploits/framework3/msfconsole

888 888 d8b888
888 888 Y8P888
888 888 888
88888b.d88b. .d88b. 888888 8888b. .d8888b 88888b. 888 .d88b. 888888888
888 “888 “88bd8P Y8b888 “88b88K 888 “88b888d88″”88b888888
888 888 88888888888888 .d888888″Y8888b.888 888888888 888888888
888 888 888Y8b. Y88b. 888 888 X88888 d88P888Y88..88P888Y88b.
888 888 888 “Y8888 “Y888″Y888888 88888P’88888P” 888 “Y88P” 888 “Y888
888
888
888

=[ metasploit v3.7.0-release [core:3.7 api:1.0]
+ — –=[ 684 exploits – 355 auxiliary
+ — –=[ 217 payloads – 27 encoders – 8 nops

msf > db_driver mysql
[*] Using database driver mysql
msf > db_connect root:okeydokey@127.0.0.1:3306/metasploit
msf > db_status
[*] mysql connected to metasploit
msf > db_nmap -sS -n okeydokey.com
[*] Nmap: Starting Nmap 5.51 ( http://nmap.org ) at 2011-08-18 03:39 WIT
[*] Nmap: Nmap scan report for okeydokey.com
[*] Nmap: Host is up (0.14s latency).
[*] Nmap: Not shown: 995 closed ports
[*] Nmap: PORT STATE SERVICE
[*] Nmap: 21/tcp open ftp
[*] Nmap: 22/tcp open ssh
[*] Nmap: 80/tcp open http
[*] Nmap: 111/tcp open rpcbind
[*] Nmap: 3306/tcp open mysql
[*] Nmap: Nmap done: 1 IP address (1 host up) scanned in 32.27 seconds
msf > exit

thx to :
http://www.backtrack-linux.org/forums/ fnord0
http://forums.techarena.in/ !cons

Gnome Terminal Won’t Start on Backtrack / Debian

Maybe it is caused by other program that i installed, suddenly when i wanted to start my gnome terminal in panel my terminal wont start.

To solve this i did these steps,

0. Restart Backtrack dont start X (X-windows) yet.

1. Uninstall latest program/application i installed.
apt-get remove programname

2. Uninstall my gnome-manager.
apt-get remove gnome-manager

3. Reinstall gnome-manager.
apt-get install gnome-manager

4. When finished i start Gnome by command startx and the terminal now works as usual.

Visual Effect on Gnome with Compiz Fusion

visual effect on gnome will make your desktop more beautiful

for installation

aptitude install compiz compizconfig-settings-manager compiz-fusion-plugins-main compiz-gnome compiz-gtk

to enable this feature do :
1. right click on your desktop
2. click change desktop background
3. go to visual effect
4. choose what u prefer

CompizConfig Setting manager

for managing/editing the effect

System > Preferences > CompizConfig Setting manager

Gnome Visual Effect CompizConfig
Gnome Visual Effect CompizConfig



Uninstall Backtrack 5 Dual Boot Win 7

it’s not uninstall actually, hha just simply delete it.

after a month i tried to use backtrack 5, i found out that my disk space allocated for backtrack 5 was nearly empty, 10 GB was too small. So i’d like to add new disk space, but i haven’t found the way to do it. I came up with uncool steps.

1. Remove old backtrack installation
2. Reinstall backtrack with new disk space allocation

to remove backtrack installation, which is dual booted with windows 7, i have to make sure my windows 7 can still work well. after googling, i got the message to do fixmbr to recover windows 7 boot manager. so here are the steps.

A. Fixing windows 7 boot manager
1. prepare your win7 installation disk (dvd/usb), plug it in.
2. start your computer, set the boot priority from bios setting (first boot usb, or cd/dvd room)
3. when windows 7 installation comes up, choose repair
4. choose repair this computer with recovery tool, click next
5. choose command prompt
6. enter this command

[php]bootRec.exe /fixmbr[/php]

7. reboot your computer

B. Remove backtrack
1. now your computer should start the win 7 automatically
2. go to control panel > System and Security > Administrative Tools > Computer Management > choose Disk Management (under storage properties)
3. u will see clearly your computer partitions, delete your backtrack partition by right click > delete Volume
4. after it is deleted you will have new disk space and u can expand your other windows partition.

partition manager
computer management windows 7

that’s all

You don’t have permission to access / on this server.

You don't have permission to access / on this server.
You don't have permission to access / on this server.

when i added new user in my ubuntu hosting and try to access the site, i got the message. i spent some time searching for the problem and solution. my first guess, there is problem with file permission in the home directory. read about unix/linux file permission on my site here.

i use this step to solve the problem.  Continue reading You don’t have permission to access / on this server.

File Permission on UNIX/Linux

in unix/linux sistem it is easy for us to define directory or file permission. there are 3 options : read, write, execute. these options are represented with binary number rwx, respectively for read, write, execute. there are also 3 user type/level exist : user, group, other. user means the specific user logged in the system which is also the owner of the file / directory, group mean several user that has been defined on one group name, and other represent any user exist or the whole world.

each file/directory in unix/linux will be labeled by specific permission, such as drwxrwxrwx. Continue reading File Permission on UNIX/Linux

delete / remove ?wpmp_switcher=desktop

After i use wordpress plugin for mobile web application “WordPress Mobile Pack”  i found that it caused duplicate meta description. Each of my link/permalink will be appended “?wpmp_switcher=desktop”, which indicates that instead of using the web mode display, we will use desktop mode display.

since it created miss configuration to meta description tag, i prefer to remove the plugin. but the affected links seem still the same. trying to understand this thing, i did these 2 things.

1. Clear the dns cache and browser history just to make sure these aren’t the thing that causes the problem.

2. Deleting completely any “WordPress Mobile Pack” in folder wp-include>>themes.

It seems working on my website, u can try to do it with yours too. hope this helpful for you.

 

 

Top 5 Free Remote Desktop Software

Remote desktop software is application that will make you able to control your PC remotely. On windows base this function is provided by RDP or remote dekstop connection. This remote desktop connection can be accessed by run command mstsc. Below is the list for non default remote dekstop sotware that works for most Operating Systems. klick the image below to download it.

1. Real VNC
real vnc

 

http://www.realvnc.com/

2. Tight VNC

http://www.tightvnc.com/

3. Team Viewer

http://www.teamviewer.com/id/index.aspx

 

4. Tiger VNC

http://tigervnc.sourceforge.net/

Jcow Installation

Jcow is facebook like application, it has been used by some community to create their own “facebook” page. Jcow available in Free and Paid license. The Free license have limited feature though. Below, is the instruction to install Jcow on your hosting.

jcow

1. Download Jcow application installer here or in http://www.jcow.net/
2. Create new directory for your Jcow
3. Upload the file to your hosting place it in folder Jcow, extract it here.
4. Create new database and database user, give all privileges to the user to access database.
5. In you Jcow directory find install.php change permission to execute file
chmod 775 install.php
6. Open your install.php on your browser according to your jcow directory. example : http://caleudum.com/jcow/install.php
7. Insert information required.
8. Delete install.php then try to browse your Jcow folder. example http://demo.jcow.net/

here is the example
http://demo.jcow.net/