Recently, I made the script to patch your BASH environment available on this site, but that meant a need to copy and paste. Using a user with the appropriate rights, you can now pipe directly using a ...
Updated to latest kernel patch bash43-30 You’ve heard of ShellShock, and the bash-exploits that are currently doing the rounds, across platforms, that make use of these bugs (CVE-2014-6271 and t ...
Quick note to myself, as I keep forgetting the syntax, though it is so easy — to block an incoming connection by null routing or rejecting the connection is as simple as route add -host IP rejec ...
So you have a snapshot of data on one drive, and the current state of data on the second drive. How do you copy the difference between the two drives into a third directory? Rync comes to the rescue h ...
So that it’s documented… I’m using port 8080 as the default port as the likelyhood of your upstream proxy being on 8080 is high – else, typical proxy ports are, of course, 80, ...
You knew it already – but I keep forgetting – the power of zgrep and zcat both of which behave as their z-less counterparts. So, to search a gzip’d file, you can simply zgrep <ter ...
For self-reference, mainly: For the Intel Corporation 82574L Gigabit Network Connection on an old kernel that doesn’t have the drivers compiled into it – get the driver and make install it ...
To find all files by file name containing THE TEXT I SEEK: grep -lir "THE TEXT I SEEK" * ...
Just to jot it down lest I forget: Tar’ing the local directory and streaming the tarball straight to gzip: tar cvf - . | gzip > target.tar.gz MySQLdump’ing directly to gzip: ...
It’s a simple one-liner that one tends to forget (that is, one that I forget as I untar more than I manually tar). So creating a tar file from directory and all subdirectories is as simple as ta ...
Assuming you have a Windows machine and you interact with Linux boxen at any stage, chances are high that you have used and interacted with PuTTY at one stage or another. That beautiful, less than 2 s ...
There are a lot of words about the MySQL upgrade on Ubuntu 10.04 (64 bit specifically, perhaps the 32bit version too?) — it just hangs: You get the hopeful message: Preparing to replace mysql-se ...
To enable symlinks in Samba for filesharing across platforms inWindows, modify /etc/smb/samba.conf and add in the [global] section: follow symlinks = yes unix extensions = no There has been some discu ...
Samba. Whopping goodness. Here are a few notes that help in the setup – from user creation, to directory settings etc This blog post contains a few lessons learnt and thus by extension a migrati ...
What release / version are you running? cat /etc/lsb-release or cat /etc/issue But you knew that already — to upgrade the version of the Ubuntu installation you have is quite simple – just ...
Just a quick note (as I keep forgetting, and a cut-and-paste solution is a quicker time to market) – but you knew that already. Installing Webmin is quite simple (download directly, or from the ...
So the Security Summit 2010 has come to an end. Featuring speakers such as Moxie Marlinspike, Joe Grand and Jeremiah Grossman (again), it’s a pity to say that there wasn’t much new that wa ...
Sven Welzel
May 14, 2010
bash, code, conferences, javascript, linux, mysql, open source software, php, security, synch.cc, sysadmin, windows
Share
It’s quite simple, really: POP3 (Exchange, dovecot etc) you know, IMAP (Exchange, dovecot, courier etc) you know — so this is just a recap, right? You know how to telnet into the machine & ...
You’re stuck on a Windows box. But you don’t want to install MinGW32? Can’t dual-boot to run Ubuntu or Debian on your Windows machine for some for that GNU happiness that sed, groff, ...
The mdbtools package for Ubuntu Jaunty includes a command called mdb-export. This allows you to dump the contents of tblName from database.mdb to STDOUT in CSV format like this: mdb-export database.m ...