Farewell to alexa.com

Unexpected announcement from Amazon: alexa.com is is shutting down soon after 25 years of service. Apparently collecting website traffic statistics is less profitable for Amazon than AWS. The site alexa.com was founded in 1996 and was bought by Amazon in 1999 for $ 250 million. The payment was made in Amazon shares. The rating of… Read More »

How disable Control-C in a console program.

Control-C (CTRL+C) key combinations sends special signal to console processes, when a console window has the keyboard focus. By default Control-C (also Control-Break) signal is treated not as keyboard input but aborts all console processes attached to this console. In GUI applications Control-C is treated differently and usually is used to copy highlighted text or… Read More »

ioctl, analog of DeviceIOControl

Win32 API DeviceIOControl function allows Windows application program to send a control code directly to a specified device driver, requesting the corresponding device to perform the appropriate operation. The application program must be started with administrator privileges. I used DeviceIOcontrol function in many project some of them as xedit and socketspy are mentioned in this… Read More »

Agentless remote monitoring with SNMP and WMI

The previous article “Remote Monitoring System with Minimum Coding” presents an example how to monitor processes on Linux systems using simple bash script and upload result to the remote HTTP server. Linux cron service should schedule script execution on a repetitive basis. The bash script plays role of monitoring agent which collects required information and… Read More »

Raw sockets.

Approximately year ago I wrote an article “Wiresharking TCP Split Handshake Attack“. Normally client/server application written on socket level does not permit to split handshaking. For example TCP client connect function initiates a connection on a socket and performs all 3 handshaking step. Handshaking process is hidden in Transport layer of ISO model. To manipulate… Read More »

Question Mark Environment Variable in Linux

Question Mark Environment Variable is special variable in Linux and other Unix operating systems which contains status (return code) of shell commands or executable. This variable is widely used in scripts to verify exit status of shell command. The value range of question mark environment variable is between 0 and 255. Normally zero value means… Read More »

Decrypting TLS data with Wireshark on Mac

This post is about how decrypt TLS data with Wireshark using session key file. The session key file saves combination of secret keys which web browser used to encrypt or decrypt http traffic. Not all browsers may save session key, as I know only Google Chrome and Firefox permit to do this. The example below… Read More »

cURL without cacert or capath options

The curl as mention in its manual is the tool to transfer data from or to a server, using one of the different application-layer Internet protocol including HTTPS. With HTTPS curl works as CLI browser and supports TLS handshake process. cURL cacert option is used to specify certificate file to verify the peer, capath tells… Read More »

🍒 Cherry-pick in github

I began to use cherry picking to add changes from a commit from one branch and move them onto another branch. Cherry-pick looks promising for transferring the code changes between branches. Everything is simple according to the documentation but a little different in real life. It took me approximately one hour to pick a cherry… Read More »