Review your favorite Linux distribution.
Go Back > Blogs
User Name



Slackware-13.37-Hacks-Hardening Tips

Posted 02-04-2012 at 09:17 PM by arniekat

These suggestions are based on advice from the SlackWiki Basic Security Fixes, The Center For Internet Security Slackware Benchmarks and on the General Hardening Tips for Red Hat Enterprise Linux. I condensed and categorized as many of the suggestions as I could glean, however, it is your choice as to how many of them apply in your case.


Create a BIOS Password to keep others from changing your BIOS settings. After you have installed Slackware, you...
LQ Newbie
Posted in Uncategorized
Views 2624 Comments 0 arniekat is offline

Slackware-13.37-Hacks-Vim Tutorial

Posted 02-03-2012 at 07:46 PM by arniekat

SOURCE - The Vimbook Tutorial Version 5.7 and Vim Manpages and

Elvis is a clone of the ex/vi text editor.
/usr/bin/vi is a symlink to elvis
Elvis is part of the package elvis-2.2_0

This tutorial, however will use Vim.
Vim is part of the package vim-7.3.154
Main Website:
NOTE - vipw is an editor for the file /etc/passwd
vigr is an editor for the file /etc/group
visudo is an editor...
LQ Newbie
Posted in Uncategorized
Views 1027 Comments 0 arniekat is offline

ASM: Intercepting (and using) Errors (like segfaults) in asm (aka SEH)

Posted 02-03-2012 at 04:10 PM by rainbowsally

This is for i86 and x86_64 types but with a bit of poking around you can probably find a similar way to do this with other CPUs.

Note: This asm requires 'sigaction'. (See the test code. And bear in mind that this is not an attempt to create a full-blown system of signal handlers. Check the libc docs for 'sigaction' for ideas on how you can use something like this for a seed for a more extensive application.)

There used to be a lot of cool little programs for the...
Posted in Uncategorized
Views 1232 Comments 0 rainbowsally is offline

ASM: 64 bit intel asm in linux

Posted 02-03-2012 at 04:01 PM by rainbowsally

If you're used to 32 bit asm in gcc, the 64 bit asm might throw you for a loop initially. That's because part of the stack is passed around in registers.

Let's compile a bit of test code and see what's going on.

If you're using our makefile-creator put this in a subdirectory named "src" or use whatever method you prefer if not.

file: src/main.c
// main.c
#include <stdio.h>

void  dbg(){}
Posted in Uncategorized
Views 1350 Comments 0 rainbowsally is offline

Interesting facts about ASCII

Posted 02-03-2012 at 04:59 AM by hydraMax (Bits and Pixels)

Some interesting about ASCII, when it is represented as bytes in a binary system: (taken from Art of Assembly Language):

1) All alphabetic characters in standard ASCII can be converted to lowercase or uppercase simply by toggling the fifth bit (the first bit is bit zero). E.g.:

E = 01000101
e = 01100101
2) you can obtain the numeric equivalent of any of the numeric characters by subtracting 0x30 from the ASCII value.

3) Bits five...
Posted in Uncategorized
Views 2936 Comments 0 hydraMax is offline


All times are GMT -5. The time now is 02:58 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration