I always forget the exact syntax and options I need for this. I don't create new keys frequently enough to remember without looking up what to run each time.
The command
ssh-keygen -t rsa -b 2048
[Source: Security StackExchange]
read moreI always forget the exact syntax and options I need for this. I don't create new keys frequently enough to remember without looking up what to run each time.
ssh-keygen -t rsa -b 2048
[Source: Security StackExchange]
read moreI frequently get frustrated when Wireshark won't run as a non-root user due to permissions on the dumpcap process. Here's the fix:
sudo groupadd wireshark
sudo usermod -a -G wireshark $USER
sudo chgrp wireshark /usr/bin/dumpcap
sudo chmod 754 /usr/bin/dumpcap
sudo setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr …
I recently switched my primary machine from Windows 7 to Ubuntu. I'd always used an Ubuntu VM for development. Now I just have a Windows 7 VM for Windows-only applications, and do the majority of my work in Ubuntu. I'm fairly comfortable on the command line, but extremely dislike capital …
read moreThis is running on Ubuntu 12.04, using the most recent versions as of 2013-02-02.
Install git:
$ wget http://git-core.googlecode.com/files/git-1.8.1.2.tar.gz
$ tar xf git-1.8.1.2.tar.gz
$ cd git-1.8.1.2/
$ sudo apt-get install libcurl4-gnutls-dev libexpat1-dev gettext libz-dev
$ make …
I thought it would be interesting to use Lenny Zeltser's excellent REMnux distribution to solve this puzzleposted by ForensicKB. I'll admit that I saw the solution before solving it, but since I don't have a copy of EnCase lying around, I wanted to use some free tools to accomplish …
read moreHaving panels which update quickly without flickering requires
double-buffering. To accomplish this in C#, you'll have to derive from
the standard Panel
class as shown below, and then replace the
declaration and instantiation of the panel with your new class.
using System.Windows.Forms;
namespace WindowsFormsApplication1
{
public class DoubleBufferedPanel : Panel …
So here's the scenario. I was looking to have the a panel with exact dimensions on a C# form (700x400). I wanted even and default spacing around the panel on the form. I figured out the default spacing was 12, so I set the size of the form to 724x424 …
read moreAlthough definitely not the only step to stopping malicious email, not displaying HTML or rich text in messages goes a long way. Here's the summary of where the settings are located:
Tools menu, Options, Preferences tab, E-mail area, E-mail Options, Message Handling area.
Tools menu, Trust …
read moreHere are a couple useful PHP commands that you can run on your server to get useful information.
This one gives basic information about the PHP installation, which can be used for troubleshooting or just verifying that PHP is running.
<?php phpinfo(); ?>
This one tells you the name of the …
read morePage 1 / 3 »