Place Holder Products Code
Bash MySQL
Notes Return of the Fed Login
Admin Control Panel Email Control Panel Product Control Panel Debug Info Beacon Create Snippet Tag Control Panel

m7c1

Much by way of discourse, some by way of advice; security from Clausewitz to Fancy Bear.
Forks
Forks

This is a 'fork bomb':

:(){ :|: & };:

In bash (and probably bash-like shells) this declares a function named :, and defines that function as a call to itself, piped into a call to itself, which is then forked.  The result is endless forking of a non-terminating program that calls itself twice per call.  The last : initiates the bomb.

Posted by Will - January 21st '19
(Ab)using Tor to circumvent GDPR
(Ab)using Tor to circumvent GDPR

    Situation: I'm in the EU, living under its Big State ethos and enduring its General Data Protection Regulation (GDPR). Web presences with an EU market have largely complied in some fashion, but many without have simply denied access to requests appearing to originate in the EU. I wanted to read an article on a site in the second category.You'll need tor and a proxy. I use privoxy.

Posted by Will - September 26th '18
Curlin'
Curlin'

Recently I had cause to collect all Requests for Comment (RFCs) and Phrack articles - ever published - for mining purposes. Was a good quick little bash test, and improved my curlin'! The results are as follows:

Very straight forward snippet for grabbing the first 1000 rfcs:

Posted by Will - September 17th '18
X and libinput for Natural Scrolling
X and libinput for Natural Scrolling

My scrolling wasn't 'natural' so...

What can I learn about my device?  Let's see what X thinks is connected:

xinput -list

And then check the properties for my touchpad (id 13):

Posted by Will - April 23rd '18
Opened a file and made some changes to read-only file? No problem!
Opened a file and made some changes to read-only file? No problem!

Use tee to make changes to read-only file as root

:w !sudo tee %

where w=write, !=exec, %=current file

Posted by Will - April 8th '18

Search

Popular Posts