MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/ao2hn7/spotted_on_github/efy64n1/?context=3
r/ProgrammerHumor • u/Callmealbi • Feb 07 '19
934 comments sorted by
View all comments
2
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
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