Sometimes you just want to see what someone is sending to your website. But how? Access logs by themselves can be pretty vanilla, you can see that a user made a POST request, but what exactly did they send?
Caution: This could include sensitive information like log in credentials, credit card information, and other sensitive data. Oh yeah, it will create massive log files that could create Disk I/O issues as well. Recommend doing this in a testing, troubleshooting, capacity only.
You can see what’s in the POST request by using the dumpio module for Apache
Continue reading “How to capture POST Requests on Webserver / Website”
I was recently building a script to help move things from one server to another and in the process stumbled into a very annoying problem when passing MySQL arguments to a remote server via SSH.
Desired outcome: Create a new user in a remote DB using SSH.
In practice, this should be extremely simple. If you do this on the server, you could execute a command like this:
mysql --user="root" --password="[pass]" --execute="create user 'testing'@'localhost' identified by '123';"
You would now have a new user in your database called testing and it’s password would be 123.
Continue reading “ERROR 1064 (42000) at line 1 – Passing MySQL Create User Arguments via SSH”
I don’t know when it started, but at some point in 2021 I was not able to scroll inside my linux terminal on Windows. I really don’t care why it started, but I do know the fix.
After banging my head on a wall, and living with it for a few months, I decided enough was enough.
Continue reading “Can’t Scroll in Windows Subsystem for Linux”
There are instances while working with a shared repo that your Pull Request will hit a conflict with the master repo and that will prevent your PR from being merged.
The easiest way to resolve this is going to be via your terminal.
Continue reading “Working with Merge Conflicts in Git”
This error is telling you that you forgot to update your listening address. You likely have another pool configuration pointing to the same address.
For example, name1.conf is pointing to:
listen = 127.0.0.1:9000
Continue reading “Troubleshooting PHP-FPM: ERROR: [pool [name1]] unable to set listen address as it’s already used in another pool ‘[name2]’”
I was recently working with a new Windows app we built at CleanBrowsing and our users were getting hit with security warnings post-installation. This warning was generated because the app was not signed.
Ok, let’s get things signed.
To sign I would need a code-sign certificate. I went through the process of getting an Extended Validation (EV) certificate from GlobalSign.
Site Note: The process was not too bad, you sign some forms, take some pictures and you’re done. You do need a Windows machine when download the certificate, be prepared for that.
Continue reading “Signing an App using a CodeSign certificate with SignTool & Windows 10”