Guest User

Untitled

a guest
Nov 10th, 2019
293
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. pier@pier-1005HA:~$ nc -lvvp 1337
  2. Listening on [0.0.0.0] (family 0, port 1337)
  3. Connection from OpenWrt.lan 50227 received!
  4. sed -i 's#root:/bin/false#root:/bin/ash#' /etc/passwd
  5. uci set dropbear.lan.RootPasswordAuth='on'
  6. uci set dropbear.lan.RootLogin='1'
  7. uci set dropbear.lan.enable='1'
  8. echo -e "root\nroot" | passwd
  9. Changing password for root
  10. New password:
  11. Bad password: too short
  12. Retype password:
  13. Password for root changed by root
  14. sed -i.save 's/#//' /etc/inittab
  15. uci set system.@system[0].timezone='CET-1CEST,M3.5.0,M10.5.0/3'
  16. uci set system.@system[0].zonename='Europe/Rome'
  17. uci add_list system.ntp.server='0.it.pool.ntp.org'
  18. uci add_list system.ntp.server='1.it.pool.ntp.org'
  19. uci del_list system.ntp.server='mx.pool.ntp.org'
  20. uci del_list system.ntp.server='north-america.pool.ntp.org'
  21. uci set system.[member=77439]coredump[/member][0].reboot='0'
  22. uci commit
  23. /etc/init.d/dropbear restart
  24. interface wan has no physdev or physdev has no suitable ip
  25. /etc/init.d/nginx restart
Advertisement
Add Comment
Please, Sign In to add comment