-
-
Save breyer/2bca7d8535de785db67e95cf07e98f53 to your computer and use it in GitHub Desktop.
#!/bin/bash | |
#HITRON=10.10.2.1 | |
HITRON=192.168.100.1 | |
USER=app | |
PASSWORD="com8&#wDs2*1er" | |
OPTIONS="-o StrictHostKeyChecking=no -o ConnectTimeout=10 -o ServerAliveInterval=5 -o ServerAliveCountMax=1" | |
echo Password of $USER $PASSWORD | |
while [ 1 ] | |
do | |
echo connect... | |
sshpass -p$PASSWORD ssh $OPTIONS $USER@$HITRON $1 | |
done |
Hi, i have Hitron modem, how can I use your script to get access to it? I alwq6s get connection refused error...
This will only succeed immediately after boot. Maybe you loop the script to login.
Ok, and do I login with my 'normal' password? This one that I log in to web panel? Maybe it is possible to connect to router when it is disconnected from cable network? (when docsis manifest could not be downloaded from cable tv network)
Ok, and do I login with my 'normal' password? This one that I log in to web panel? Maybe it is possible to connect to router when it is disconnected from cable network? (when docsis manifest could not be downloaded from cable tv network)
Hint: https://www.hackerboard.de/threads/hitronhub-cve-30360-kabel-deutschland-wlan-hack.46171/page-4
Ok, I will check if this works with my router. And in short, what can I change in modem behaviour when I log into ssh to it? What are the possibilities?
If I remember correctly, this allowed the WLAN to be activated when it was deactivated by the provider.
Hi there,
To get the script to work with OpenSSH_9.5p1, I needed to add a couple options:
OPTIONS="-o KexAlgorithms=+diffie-hellman-group1-sha1 -o HostKeyAlgorithms=+ssh-dss ... "
Also needed to un-comment this line in /etc/ssh_config
#Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aex128-cbc,3des-cbc
Thanks for the script, has been super helpful!
Hi, i have Hitron modem, how can I use your script to get access to it? I alwq6s get connection refused error...