Just some typing exercises
Currently Browsing: tip

Yet another encrypted backup way

Problem: you have a shared remote backup space and you want to backup sensitive data from your servers There is a plenty of options out there, in my situation I have a Linux server with shell access where to take files and a shell account on BSD with 75GB of space where to put these files. I need to keep a daily copy of everything for a week. After some thinking and experimenting here is what I’ve got with...

accidentally rm -fr /etc

If you ( better not you, but **** happens) remove your /etc on redhat/centos 5 and you still have an open remote root shell, here is what you have to do to make sure you still can reach the host (I wouldn’t write it if I had a backup): 0. Say f***********ck, take a deep breath and don’t panic 1. Make a prayer ( whatever god will do, even Einstein, nobody hears you screaming anyway ) 2. Restore...

Researchers say that a pint a day may work as well as a low dose of aspirin in preventing heart clots that raise the risk of heart attacks

...

sip brute force attacks from amazon ec2 cloud

[Dec 19 21:09:03] NOTICE[5196]: chan_sip.c:15236 handle_request_register: Registration from '"100"<sip:100@194.177.99.220>' failed for '174.129.52.203' - Not a local domain [Dec 19 21:09:04] NOTICE[5196]: chan_sip.c:15236 handle_request_register: Registration from '"101"<sip:101@194.177.99.220>' failed for '174.129.52.203' - Not a local domain [Dec 19 21:09:04] NOTICE[5196]: chan_sip.c:15236...

start powershell script as service on windows server 2008 r2

1. get resource kit tools for 2003 (no 2008 at the moment of writing) just to have a copy of srvany.exe 2. ignore compatability warnings and install as is 3. create service using sc and binPath=”srvany.exe” 4. open regedit and create a string value /CreatedService/Parameters/Application 5. put \Path\to\powershell.exe -ExecutionPlicy RemoteSigned -File \Path\To\script.ps1 start it my example starting from...

« Previous Entries

Powered by Wordpress | Designed by Elegant Themes