mirror of
https://github.com/hak5/nano-tetra-modules.git
synced 2025-10-29 16:58:09 +00:00
Add modules to repository
This commit is contained in:
15
KeyManager/scripts/generate_key.sh
Executable file
15
KeyManager/scripts/generate_key.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
#2015 - Whistle Master
|
||||
|
||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/sd/lib:/sd/usr/lib
|
||||
export PATH=$PATH:/sd/usr/bin:/sd/usr/sbin
|
||||
|
||||
[[ -f /tmp/KeyManager_key.progress ]] && {
|
||||
exit 0
|
||||
}
|
||||
|
||||
touch /tmp/KeyManager_key.progress
|
||||
|
||||
ssh-keygen -N "" -f /root/.ssh/id_rsa
|
||||
|
||||
rm /tmp/KeyManager_key.progress
|
||||
Reference in New Issue
Block a user