I doubt that you have permission from your office to set up an unsecured backdoor on your work computer.
I recommend that you use 2 computers that you actually own for this.
That being said, to keep a persistent callback, you would need to do something like install it as a service using instserv or create a batch file with the appropriate nc info and then create a scheduled job to check for an instance of it every so often.


but eventually i got bored with this and decided i wanted to try reverse shell over the Internet so i set up NC on my office computer at work to send a reverse shell to my home computer and setup NC to listen for it, and it worked like a charm but after a while i lost the connection and every time that happened i had to go back and manually set up NC to send me another shell so i was wondering how i can set it up so that when i lose the connection it automatically tries to send my machine another shell after every disconnect?

and its just another personal computer i keep at work just to surf the web don't keep anything business related on it.
