Feeds
Links
Pages
Categories
Tag Cloud
acrobat reader backups blog blogger bot cisco dd image debian defense dns email emet encryption evil bits exploits facebook gcih gmail google gpen gsutil java linux live view mail malware metasploit microsoft windows netflow obfuscation photo gallery php physical security python raid sans shell scripting silk social networking truecrypt vmdk vmware vulnerability scanning wordpress xenArchives
- December 2011
- October 2011
- August 2011
- July 2011
- June 2011
- April 2011
- March 2011
- January 2011
- November 2010
- August 2010
- May 2010
- February 2010
- January 2010
- December 2009
- October 2009
- September 2009
- May 2009
- March 2009
- February 2009
- January 2009
- December 2008
- October 2008
- September 2008
- August 2008
- July 2008
- May 2008
- March 2008
- February 2008
- January 2008
- May 2007
- March 2007
- February 2007
- December 2006
- October 2006
- September 2006
- August 2006
- April 2006
- March 2006
- February 2006
Monthly Archives: February 2008
Force Outlook to open all email in plain text
For reference. Strip HTML email in Outlook into plain text Content: First, this is secure as many of the worms and bugs rely on HTML script code. One good example could be the needless advertisements or images sent inside spam … Continue reading
Disable fast user switching on Vista
Getting Started Save all your work before switching. If the other user shuts down the computer or logs you off, Windows won’t save your open files automatically. In Vista (unlike Windows XP), Fast User Switching works if you’re on a … Continue reading
Kicking a user off of a system (linux)
Quick reference would ‘NOT’ recommend using these: last -i1 baduser | awk ‘{print $3;exit}’ | xargs -p –replace iptables -A INPUT -s {} -j drop if [ "`who | grep $1`" != "" ] ; then sid=`ps -jU $1 | … Continue reading
Authenicating kerberos against active directory
Your /etc/pam.d/system-auth is created with the command “authconfig” on a RHEL5 machine though you may have to manually edit it with other distributions: #%PAM-1.0# This file is auto-generated. # User changes will be destroyed the next time authconfig is run. … Continue reading
Configuring sendmail to accept mail
if you get ( doing a netstat -an more ) tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN Then your sendmail server is configured to accept connections from the localhost only. To change this behavior, you usually need to edit /etc/mail/sendmail.mc Find … Continue reading
Edit group policy on remote computer
Want to open up the MMC of a local Group Policy on a remote machine? Simply go to Start Run and type: gpedit.msc /gpcomputer: Computername
Running processes in the background on Linux
If you just want your program to simply run in the background, launch it with a “&” at the end of the command from the shell. However, if it expects to use stdout, stdin, or stderr, it will stop — … Continue reading
Adding a character to a line using Perl
perl -p -i -e ‘s/(.)$/$1$1/g’ filename This changed my nonsense file: ghggk dethaks gjfkdld fyduftsdu flkgjd kflgjlk flkgjl f into a slightly different nonsense file: ghggkk dethakss gjfkdldd fyduftsduu flkgjd kflgjlk flkgjl ff
Posted in coding
Leave a comment
Getting Samba to play nicely with SELinux on RHEL
This helpful bit was written by Don Meyer. I’m a little too stubborn for a quick fix like this, so I went the route of adding the specific rules needed to allow SMB/Winbindd to run without throwing AVC errors. I’m … Continue reading
Remove index.php from wiki URL
In httpd.conf: Alias /wiki/index.php /home/rsreese/richardsreese/htdocs/w/index.php Alias /wiki /home/rsreese/richardsreese/htdocs/w/index.php In Localsetting.php: $wgScriptPath = “/w”; $wgScript = “$wgScriptPath/index.php”; $wgRedirectScript = “$wgScriptPath/redirect.php”; ## For more information on customizing the URLs please see: ## http://meta.wikimedia.org/wiki/Eliminating_index.php_from_the_url ## If using PHP as a CGI module, the … Continue reading
Posted in coding, web design
Leave a comment