How exactly is one vulnerable to this? Do I need to have some sort of CGI script that explicitly uses environment variables in its equivalent of an exec()?
I have exim4 installed just in case we need to send outgoing mail from a Wordpress contact form or something, but for the most part its 100% Mandrill and Google Apps for things that I care about. If I had any idea what I was doing when it came to mail I'd be more likely to most it myself, but...
I'm just curious how it all works. Luckily I've already put together a few somewhat large pieces of software for work and on my own time and have pretty much been programming nonstop for 2 years now, so I guess I'm already better off than some of the established giants, but when it comes to...
I already have a working knowledge of everything but the PHP/whatever language I'm using -> bash/running actual shell commands part. I've only screwed around with this in Perl, but logging in as another user -from- a Perl script is pretty much impossible if you're aren't running the original...
I'm more interested in where to start with a control panel. I feel like it would have to run as root to be able to do anything at all. How would one go about putting something like this together without it being a massive security risk? Not only would the script have root access, but there'd be...
This is actually pretty simple if you have sudo access. Just have a script generate nginx vhost config files for each subdomain in a directory you have permission to write to, edit your sudoers so that whatever account the script is running as can reload nginx with a password (or without if...
Threw in support for downloading single videos since youtube-dl won't grab the highest quality video by default if its available in anything higher than 720p. Not a huge deal, but it's one command compared to 2 or 3 in youtube-dl on its own.
Just threw this together this morning to replace a .NET YouTube subscription auto-downloader that I haphazardly hacked together 2 years ago.
http://onlinebargainshrimptoyourdoor.com/2014/03/01/introducing-subbuddy-py/
https://github.com/marlencrabapple/SubBuddy-py
Its a little rough around...
It gets worse when you realize that this kind of attitude isn't just limited to idiot VPS providers, but to most of the world. I got a job doing Wordpress development for some guys that did lawyer marketing, and just about EVERY client they had was running a two year old version of wordpress on...
What's the best way to vertically align text elements relative to each other? For example, how would I properly vertically center navigation links with a text heading? Obviously I could screw around with margins and padding, but fiddling at random isn't the best solution.
I tried to put together a minimal "flat" design like that a few weeks ago and ended up with a terrible web 1.0 esque nightmare. No idea how I screwed it up so badly. The worst part is the problem is purely visual. Markup wise its perfect, so there's nothing OBVIOUS that I can fix, it just looks...