initial commit

This commit is contained in:
2021-09-02 18:01:03 +02:00
commit 229f86d94b
43 changed files with 1063 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
#!/usr/bin/expect -f
###################################
############ by Sthope ############
###################################
## sudo apt-get install -y expect
## nano ~/.bashrc
## and add this to the end of the file: export PATH=$PATH:~/bin
## sudo chmod +x ~/bin/*;su -l $USER
### USAGE
# Type "sshnopwd USERNAME@IP PASSWORD"
# it will loggin without asking for password nor ask to confirm the new fingerprint (if applicable)
set timeout 5
set h [lindex $argv 0]
set p [lindex $argv 1]
spawn ssh -o StrictHostKeyChecking=no -t "$h"
expect "*assword:"
send "$p\r";
interact