Burp Suite security/web debugging proxy
Awesome tool to debug your security vulnerabilities and test them, download available here …
Create / Uncompress 7z files
Question: How do I uncompress a *.7z file ( 7zip file ) in UNIX / Linux ? Can you explain with a simple example? Answer: Use 7za command to unzip a 7z file ( 7zip file ) on Unix platform…
Virtualization Fedora 20
You can installin virt manager on Fedora FC20 with following commands: yum install virt-manager yum install libvirt Starting virt-manager will ask you to install additional 2 packages then you get lovely ISO selection screen and you can start installing whatever…
Create user with restricted access to own directory
Create a new user with it’s home directory set to the one you need him to have access to (this command must be run under sudo or in root shell): adduser –home /restricted/directory restricted_user This will create an user restricted_user, the directory /restricted/directory and then…
Create a new 10GB filesystem to store a package repository for yum
Create a new 10GB filesystem to store a package repository for yum Challenges: The existing hard drive has been fully allocated using LVM. Solution: Add a new hard drive to the server (virtual server in this case) Partition the drive and…
Fedora 20 change IP
[root@drash etc]# vi /etc/sysconfig/network-scripts/ifcfg-eth0 TYPE=Ethernet BOOTPROTO=dhcp DEFROUTE=yes IPV4_FAILURE_FATAL=no IPV6INIT=yes IPV6_AUTOCONF=yes IPV6_DEFROUTE=yes IPV6_FAILURE_FATAL=no NAME=eth0 UUID=e2647d40-8e94-4c17-a842-1d35d72775b1 ONBOOT=yes DNS1=208.67.220.220 DNS2=208.67.222.222 DNS3=213.46.172.36 HWADDR=00:1C:25:1C:D8:B3 PEERDNS=yes PEERROUTES=yes IPV6_PEERDNS=yes IPV6_PEERROUTES=yes IPV6_PRIVACY=no # this server’s IP address IPADDR=“192.168.1.116″ # subnet mask NETMASK=“255.255.255.0″ # default gateway GATEWAY=“192.168.1.1″ [root@drash etc]# systemctl…
Motion service check / stop
[jandra@drash ~]$ ps -ef | grep motionmotion 553 1 2 20:51 ? 00:00:02 /usr/bin/motion -njandra 3536 3312 0 20:53 pts/1 00:00:00 grep –color=auto motion [root@drash ~]# service motion stopRedirecting to /bin/systemctl stop motion.service [root@drash ~]# ps -ef | grep motion
VMware Kernel headers FC20
[root@drash 3.11.9-300.fc20.i686+PAE]# cp [root@drash 3.11.9-300.fc20.i686+PAE]# uname -a Linux drash 3.11.9-300.fc20.i686+PAE #1 SMP Wed Nov 20 22:37:38 UTC 2013 i686 i686 i386 GNU/Linux [root@drash 3.11.9-300.fc20.i686+PAE]#
FC20 upgrade, skip broken packages
—> Package vlc-core.i686 0:2.1.4-2.fc21 will be an update –> Processing Dependency: libgcrypt.so.20 for package: vlc-core-2.1.4-2.fc21.i686 –> Processing Dependency: libgcrypt.so.20(GCRYPT_1.6) for package: vlc-core-2.1.4-2.fc21.i686 –> Finished Dependency Resolution Error: Package: vlc-core-2.1.4-2.fc21.i686 (rpmfusion-free-rawhide) Requires: libgcrypt.so.20(GCRYPT_1.6) Error: Package: gstreamer-plugins-ugly-0.10.19-16.fc21.i686 (rpmfusion-free-rawhide) Requires: libcdio.so.15 Error: Package:…