Open Source is a great idea and it has changed the world!
Open Source forever ....
While you do not know attack, how can you know about defense? (未知攻,焉知防?)
Do BAD things .... for the RIGHT reasons -- OWASP ZAP
It is easier to port a shell than a shell script. -- Larry Wall
Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris. -- Larry Wall
为天地立心, 为生民立命, 为往圣继绝学, 为万世开太平。 -- 王炜
Friday, December 26, 2014
Tuesday, December 23, 2014
HOWTO : Oracle Java 8 on Kali Linux 1.0.9a
For some reasons, you need to install Oracle Java 8 instead of the default OpenJDK 7 on Kali Linux.
Add the following to the file and save.
Make the file executable.
Run it to install.
To uninstall.
That's all! See you.
nano java8Add the following to the file and save.
echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee /etc/apt/sources.list.d/webupd8team-java.list
echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
apt-get update
apt-get install oracle-java8-installerMake the file executable.
chmod +x java8Run it to install.
./java8To uninstall.
apt-get --purge remove oracle-java8-installerThat's all! See you.
Labels:
Kali Linux,
Oracle Java
Wednesday, December 17, 2014
HOWTO : Flash Plugin on Kali Linux 1.0.9a
Iceweasel
To install Flash :
To update Flash :
Google Chrome
Append the following line :
To install Flash :
Make sure to comment out the newly added repos after the install :
To update Flash :
That's all! See you.
To install Flash :
apt-get install flashplugin-nonfreeTo update Flash :
update-flashplugin-nonfree --installGoogle Chrome
nano /etc/apt/sources.listAppend the following line :
deb http://http.debian.net/debian wheezy-backports main contrib non-freeTo install Flash :
apt-get updateapt-get -t wheezy-backports install pepperflashplugin-nonfreeMake sure to comment out the newly added repos after the install :
#deb http://http.debian.net/debian wheezy-backports main contrib non-freeTo update Flash :
update-pepperflashplugin-nonfree --installThat's all! See you.
Labels:
Flash,
Kali Linux
Saturday, December 06, 2014
HOWTO : Fine Tune of iPad Mini 3 LTE
Personal Hotspot
By default, Personal Hotspot is hidden. You need to activate it by the following procedure :
(a) Settings - Cellular Data - Personal Hotspot - APN Settings - Personal Hotspot
(b) Enter some information at APN, Username and Password. Those information is not required to be real data.
(c) Exit and return, you will find Personal Hotspot option on the menu.
Cellular Data and Wifi Connection Timeout
(a) Settings - Touch ID & Passcode
(b) Enable iPad Unlock, Enable Require Passcode
(c) Settings - General - Auto-Lock
(d) Set to Never. If you cannot find "Never", you need to go to Settings - General - Reset - Reset All Settings.
(e) Enable Lock/Unlock
The internet connection will not be timeout or disconnected even you close the smartcase cover, unless you quit the application.
Make sure your MacBook Air's Energy Saving setting is set to "Never" when it is using battery. Meanwhile, the Energy Saving setting is set to prevent computer sleeping when using power adapter. However, I encounter some problem when connecting the shared wifi. I think we should wait for the release of 10.10.2 for the wifi fix.
In addition, the Personal Hotspot share with Bluetooth is awesome. It is stable and fast but with the distance limitation. It is the alternative of the wifi share at the moment.
That's all! See you.
By default, Personal Hotspot is hidden. You need to activate it by the following procedure :
(a) Settings - Cellular Data - Personal Hotspot - APN Settings - Personal Hotspot
(b) Enter some information at APN, Username and Password. Those information is not required to be real data.
(c) Exit and return, you will find Personal Hotspot option on the menu.
Cellular Data and Wifi Connection Timeout
(a) Settings - Touch ID & Passcode
(b) Enable iPad Unlock, Enable Require Passcode
(c) Settings - General - Auto-Lock
(d) Set to Never. If you cannot find "Never", you need to go to Settings - General - Reset - Reset All Settings.
(e) Enable Lock/Unlock
The internet connection will not be timeout or disconnected even you close the smartcase cover, unless you quit the application.
Make sure your MacBook Air's Energy Saving setting is set to "Never" when it is using battery. Meanwhile, the Energy Saving setting is set to prevent computer sleeping when using power adapter. However, I encounter some problem when connecting the shared wifi. I think we should wait for the release of 10.10.2 for the wifi fix.
In addition, the Personal Hotspot share with Bluetooth is awesome. It is stable and fast but with the distance limitation. It is the alternative of the wifi share at the moment.
That's all! See you.
Labels:
iPad Mini 3
Friday, December 05, 2014
HOWTO : Sandboxing Firefox on Mac OS X Yosemite (10.10.1)
Step 1 :
Go to the Apple Apps Store to install the current version of
Step 2 :
Install Homebrew if you do not have it installed.
To test the install if it is success or not :
Step 3 :
Install git if you do not have it installed.
Step 4 :
Step 5 :
Step 6 :
Quit the Firefox if it is still running (not just close the browser) and then restart it.
That's all! See you.
Go to the Apple Apps Store to install the current version of
XCode if you do not have it installed.Step 2 :
Install Homebrew if you do not have it installed.
sudo ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"To test the install if it is success or not :
brew doctorStep 3 :
Install git if you do not have it installed.
brew install gitStep 4 :
cd /Users/Shared/sudo git clone https://github.com/pansen/macos-sandbox-profiles.gitStep 5 :
cd /Applications/Firefox.app/Contents/MacOS/
sudo mv firefox-bin firefox-bin.real
sudo ln -sf /Users/Shared/macos-sandbox-profiles/bin/firefox-bin .Step 6 :
Quit the Firefox if it is still running (not just close the browser) and then restart it.
That's all! See you.
Thursday, December 04, 2014
HOWTO : ArpON on Kali Linux 1.0.9a
ArpON (ARP handler inspection) is a portable handler daemon that make ARP protocol secure in order to avoid the Man In The Middle (MITM) attack through ARP Spoofing, ARP Cache Poisoning or ARP Poison Routing (APR) attacks. It blocks also the derived attacks by it, which Sniffing, Hijacking, Injection, Filtering & co attacks for more complex derived attacks, as: DNS Spoofing, WEB Spoofing, Session Hijacking and SSL/TLS Hijacking & co attacks.
Step 1 :
Step 2 :
Uncomment the DARPI and RUN, makes it looking as :
Step 3 :
Reboot your Kali Linux.
REFERENCE
ArpON - ARP Handler Inspection
Protect you from being ARP spoofing
That's all! See you.
Step 1 :
apt-get update
apt-get install arponStep 2 :
nano /etc/default/arponUncomment the DARPI and RUN, makes it looking as :
DAEMON_OPTS='-q -f /var/log/arpon/arpon.log -g -d"
RUN="yes"Step 3 :
Reboot your Kali Linux.
REFERENCE
ArpON - ARP Handler Inspection
Protect you from being ARP spoofing
That's all! See you.
Labels:
ArpON,
Kali Linux
HOWTO : ArpON on Mac OSX Yosemite (10.10.1)
ArpON (ARP handler inspection) is a portable handler daemon that make ARP protocol secure in order to avoid the Man In The Middle (MITM) attack through ARP Spoofing, ARP Cache Poisoning or ARP Poison Routing (APR) attacks. It blocks also the derived attacks by it, which Sniffing, Hijacking, Injection, Filtering & co attacks for more complex derived attacks, as: DNS Spoofing, WEB Spoofing, Session Hijacking and SSL/TLS Hijacking & co attacks.
Step 1 :
Go to the Apple Apps Store to install the current version of
Step 2 :
Install Homebrew if you do not have it installed.
Step 3 :
To test the install if it is success or not :
Step 4 :
Step 5 :
Step 6 :
Step 7 :
*** Please note that where "samiux" is my username, change to your username accordingly.
Step 8 :
Reboot your Mac.
REFERENCE
ArpON - ARP Handler Inspection
Installing Homebrew on OS X Yosemite 10.10, Package Manager for Unix Apps
Protect you from being ARP spoofing
That's all! See you.
Step 1 :
Go to the Apple Apps Store to install the current version of
XCode if you do not have it installed.Step 2 :
Install Homebrew if you do not have it installed.
sudo ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"Step 3 :
To test the install if it is success or not :
brew doctorStep 4 :
brew install git
brew install cmake
brew install libdnet
brew install libnet
brew link libdnetStep 5 :
cd ~sudo git clone git://git.code.sf.net/p/arpon/code arponsudo -sH
cd arpon
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
make installexitStep 6 :
cd ~
nano arpon_startup
/usr/sbin/arpon -i en0 -D -qchmod +x arpon_startupStep 7 :
sudo nano /System/Library/LaunchDaemons/org.arpon.startup.plist*** Please note that where "samiux" is my username, change to your username accordingly.
Step 8 :
Reboot your Mac.
REFERENCE
ArpON - ARP Handler Inspection
Installing Homebrew on OS X Yosemite 10.10, Package Manager for Unix Apps
Protect you from being ARP spoofing
That's all! See you.
Subscribe to:
Comments (Atom)
