forked from mswhirl/autoflashgui
-
Notifications
You must be signed in to change notification settings - Fork 1
/
defaults.ini
32 lines (32 loc) · 7.44 KB
/
defaults.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# NOTE: the default ssh password will be 'root'. It's not a parameter as it would be hard to encode all special characters people might use, so just log in and change it!
# If you don't include all the mandatory defaultXXXXXX keys as shown the program will fail!
defaultHost=192.168.1.1
defaultUsername=vodafone
defaultPassword=nottherealpassword
defaultUpgradeFilename=
defaultStartupVariant=DGA0130 Vodafone NZ 17.1.7988-2461009-CRF846-V2.4.6
defaultFlashFirmware=0
defaultFlashSleepDelay=120
defaultConnectRetryDelay=5
defaultInterCommandDelay=30
defaultExpertMode=0
defaultSplitCommand=0
# The following line is not mandatory, but can be used as an alternative to the "-l it" command line language parameter
#defaultLanguage=it
# variant=DGA4130 TIM AGTEF_1.0.3 (passive root),Ping,dyndns.com,sed -i '1croot:x:0:0:root:/root:/bin/ash' /etc/passwd;uci set dropbear.@dropbear[0].RootPasswordAuth='on';uci set dropbear.@dropbear[0].enable='1';uci commit;echo -e "root\nroot"|passwd;/etc/init.d/dropbear restart;sed -i 's/off/on/' /overlay/$(cat /proc/banktable/inactive)/etc/config/dropbear;sed -i 's/0/1/' /overlay/$(cat /proc/banktable/inactive)/etc/config/dropbear;sed -i 's#root:/bin/restricted_shell#root:/bin/ash#' /overlay/$(cat /proc/banktable/inactive)/etc/passwd;sed -i "/option Interface 'lan'/s/.*/&\n\toption RootPasswordAuth 'on'/" /overlay/$(cat /proc/banktable/inactive)/etc/config/dropbear;sed -i "1c $(sed 1q /etc/shadow)" /overlay/$(cat /proc/banktable/inactive)/etc/shadow;switchover
variant=DGA4130 TIM AGTEF_1.0.3,Ping,dyndns.com,sed -i '1croot:x:0:0:root:/root:/bin/ash' /etc/passwd;uci set dropbear.@dropbear[0].RootPasswordAuth='on';uci set dropbear.@dropbear[0].enable='1';uci commit;echo -e "root\nroot"|passwd;/etc/init.d/dropbear restart
# variant=DGA4132 TIM AGTHP_1.0.3 (passive root) (Basic DDNS),BasicDDNS,dyndns.it,sed -i 's#root:/bin/false#root:/bin/ash#' /etc/passwd;uci set dropbear.lan.enable=1;uci set dropbear.lan.RootPasswordAuth=on;uci commit;echo -e "root\nroot"|passwd;/etc/init.d/dropbear restart;sed -i 's/off/on/' /overlay/$(cat /proc/banktable/inactive)/etc/config/dropbear;sed -i 's/0/1/' /overlay/$(cat /proc/banktable/inactive)/etc/config/dropbear;sed -i 's#root:/bin/restricted_shell#root:/bin/ash#' /overlay/$(cat /proc/banktable/inactive)/etc/passwd;sed -i "/option Interface 'lan'/s/.*/&\n\toption RootPasswordAuth 'on'/" /overlay/$(cat /proc/banktable/inactive)/etc/config/dropbear;sed -i "1c $(sed 1q /etc/shadow)" /overlay/$(cat /proc/banktable/inactive)/etc/shadow;switchover
variant=DGA4132 TIM AGTHP_1.0.3 (Advanced DDNS),AdvancedDDNS,dyndns.it,sed -i 's#root:/bin/false#root:/bin/ash#' /etc/passwd;uci set dropbear.lan.enable=1;uci set dropbear.lan.RootPasswordAuth=on;uci commit;echo -e "root\nroot"|passwd;/etc/init.d/dropbear restart
variant=DGA4132 TIM AGTHP_1.0.3 (Basic DDNS),BasicDDNS,dyndns.it,sed -i 's#root:/bin/false#root:/bin/ash#' /etc/passwd;uci set dropbear.lan.enable=1;uci set dropbear.lan.RootPasswordAuth=on;uci commit;echo -e "root\nroot"|passwd;/etc/init.d/dropbear restart
variant=DJA0231 Telstra 18.1.c.0215-950-RA (Basic DDNS),BasicDDNS,dyn.com,sed -i 's#root:/bin/restricted_shell#root:/bin/ash#' /etc/passwd;echo "root:root"|chpasswd;dropbear -p 6666 &
variant=TG789vac v2 iiNet 16.3,Ping,dyndns.com,uci set dropbear.@dropbear[0].PasswordAuth='on';uci set dropbear.@dropbear[0].RootPasswordAuth='on';uci set dropbear.@dropbear[0].enable='1';uci commit;echo -e "root\nroot"|passwd;/etc/init.d/dropbear restart
variant=TG789vac v2 HP MyRepublic 16.3,Ping,dyndns.com,sed -i -e "1croot:x:0:0:root:/root:/bin/ash" -e 's#root:/bin/false#root:/bin/ash#' /etc/passwd;echo "root:root"|chpasswd;sed -i -e "s/'0'/'1'/" -e "s/'off'/'on'/" /etc/config/dropbear;/etc/init.d/cwmpd stop;/etc/init.d/cwmpd disable;/etc/init.d/cwmpdboot disable;killall -9 cwmpd cwmpdboot watchdog-tch dropbear;/etc/init.d/dropbear start
variant=TG789vac v2 Tiscali 16.3,Ping,dyndns.com,sed -i 's#root:/bin/false#root:/bin/ash#' /etc/passwd;uci set dropbear.@dropbear[0].PasswordAuth='on';uci set dropbear.@dropbear[0].Interface='lan';uci set dropbear.@dropbear[0].RootPasswordAuth='on';uci set dropbear.@dropbear[0].enable='1';uci commit;echo -e "root\nroot"|passwd;/etc/init.d/dropbear restart
variant=TG797 Telstra <= 16.3,Ping,dyndns.com,echo "root:root"|chpasswd;sed -i -e "s/'0'/'1'/" -e "s/'off'/'on'/" /etc/config/dropbear;/etc/init.d/cwmpd disable;/etc/init.d/cwmpdboot disable;/etc/init.d/wifi-doctor-agent disable;/etc/init.d/hotspotd disable;killall -9 hotspotd cwmpd cwmpdboot watchdog-tch wifi-doctor-agent dropbear;/etc/init.d/dropbear start
variant=TG799 Telstra <= 16.3,Ping,dyndns.com,echo "root:root"|chpasswd;sed -i -e "s/'0'/'1'/" -e "s/'off'/'on'/" /etc/config/dropbear;/etc/init.d/cwmpd disable;/etc/init.d/cwmpdboot disable;/etc/init.d/wifi-doctor-agent disable;/etc/init.d/hotspotd disable;killall -9 hotspotd cwmpd cwmpdboot watchdog-tch wifi-doctor-agent dropbear;/etc/init.d/dropbear start
variant=TG799 Telstra 17.2.0261 (Basic DDNS),BasicDDNS,dyn.com,sed -i 's#root:/bin/restricted_shell#root:/bin/ash#' /etc/passwd;echo "root:root"|chpasswd;dropbear -p 6666 &
variant=Generic (Basic DDNS),BasicDDNS,dyn.com,sed -i 's#/root:.*$#/root:/bin/ash#' /etc/passwd;echo root:root | chpasswd;sed -i.save 's/#//' /etc/inittab;uci add dropbear dropbear;uci rename dropbear.@dropbear[-1]=afg;uci set dropbear.afg.enable='1';uci set dropbear.afg.Interface='lan';uci set dropbear.afg.Port='22';uci set dropbear.afg.IdleTimeout='600';uci set dropbear.afg.PasswordAuth='on';uci set dropbear.afg.RootPasswordAuth='on';uci set dropbear.afg.RootLogin='1';uci commit dropbear;/etc/init.d/dropbear enable;/etc/init.d/dropbear restart;uci commit
variant=Generic (Advanced DDNS),AdvancedDDNS,dyndns.it,sed -i 's#/root:.*$#/root:/bin/ash#' /etc/passwd;echo root:root | chpasswd;sed -i.save 's/#//' /etc/inittab;uci add dropbear dropbear;uci rename dropbear.@dropbear[-1]=afg;uci set dropbear.afg.enable='1';uci set dropbear.afg.Interface='lan';uci set dropbear.afg.Port='22';uci set dropbear.afg.IdleTimeout='600';uci set dropbear.afg.PasswordAuth='on';uci set dropbear.afg.RootPasswordAuth='on';uci set dropbear.afg.RootLogin='1';uci commit dropbear;/etc/init.d/dropbear enable;/etc/init.d/dropbear restart;uci commit
variant=Generic (Ping),Ping,dyndns.com,sed -i 's#/root:.*$#/root:/bin/ash#' /etc/passwd;echo root:root | chpasswd;sed -i.save 's/#//' /etc/inittab;uci add dropbear dropbear;uci rename dropbear.@dropbear[-1]=afg;uci set dropbear.afg.enable='1';uci set dropbear.afg.Interface='lan';uci set dropbear.afg.Port='22';uci set dropbear.afg.IdleTimeout='600';uci set dropbear.afg.PasswordAuth='on';uci set dropbear.afg.RootPasswordAuth='on';uci set dropbear.afg.RootLogin='1';uci commit dropbear;/etc/init.d/dropbear enable;/etc/init.d/dropbear restart;uci commit
variant=DNA0130 Vodafone NZ 17.4.0182-0841014,VodafoneDDNS2,dyndns.org,sed -i 's#root:/bin/restricted_shell#root:/bin/ash#' /etc/passwd;uci set dropbear.lan.enable='1';uci set dropbear.lan.PasswordAuth=on;uci set dropbear.lan.RootPasswordAuth=on;uci set dropbear.lan.RootLogin=1;uci commit;/etc/init.d/dropbear restart
variant=DGA0130 Vodafone NZ 17.1.7988-2461009-CRF846-V2.4.6,VodafoneDDNS,dyndns.org,sed -i 's#root:/bin/false#root:/bin/ash#' /etc/passwd;uci set dropbear.wan.enable='0';uci set dropbear.lan.enable='1';uci set dropbear.lan.PasswordAuth=on;uci set dropbear.lan.RootPasswordAuth=on;uci set dropbear.lan.RootLogin=1;uci set firewall.Allow_SSH_Vodafone_lan.target=ACCEPT;uci commit;/etc/init.d/firewall restart;/etc/init.d/dropbear restart