Linux

HP Compaq 8510p hardware list in linux

You can use lspci -n to analyce what hardware is on your system. My new laptop a HP Compaq 8510p gives the following output: 00:00.0 0600: 8086:2a00 (rev 0c) 00:01.0 0604: 8086:2a01 (rev 0c) 00:03.0 0780: 8086:2a04 (rev 0c) 00:03.2 0101: 8086:2a06 (rev 0c) 00:03.3 0700: 8086:2a07 (rev 0c) 00:19.0 0200: 8086:1049 (rev 03) 00:1a.0 […]

Read More
Network

nmap scanning and printers

When you plan to nmap scan a network which contains printers, avoid scanning the JetDirect port, port 9100. Newer versions of nmap skips TCP port 9100 because some printers simply print anything sent to that port, leading to dozens of pages of HTTP get requests, binary SSL session requests, etc. This behavior can be changed […]

Read More
Linux

Making /tmp non-executable

Many simple exploits that are used against machines, (via vulnerable PHP applications or local users, etc), rely upon being able to execute commands in /tmp. If this is a seperate partition or file system you can gain some protection by marking it non-executable. The common problem with this is that apt-get fails to work with […]

Read More
Linux

How to restore Grub from a Ubuntu Live CD

This will restore grub if you already had it installed but lost it due to a Windows install or some other accident that erased/changed your master boot record (MBR) so that grub no longer appears at startup or it returns an error. Boot into the Ubuntu Live CD. This can be the Live installer CD […]

Read More