├── .gitignore ├── .rspec ├── Gemfile ├── Gemfile.lock ├── README.md ├── Rakefile ├── bin └── rtrcrypt ├── lib ├── cli │ └── cli.rb ├── ios │ ├── common.rb │ └── decrypt.rb ├── junos │ ├── common.rb │ ├── crypt.rb │ └── decrypt.rb ├── nxos │ ├── common.rb │ └── decrypt.rb └── router_crypt.rb ├── router_crypt.gemspec └── spec ├── ios └── decrypt_spec.rb ├── junos ├── common_spec.rb ├── crypt_spec.rb └── decrypt_spec.rb ├── nxos └── decrypt_spec.rb └── spec_helper.rb /.gitignore: -------------------------------------------------------------------------------- 1 | gems/* 2 | -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --colour 2 | -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytti/router_crypt/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytti/router_crypt/HEAD/Gemfile.lock -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytti/router_crypt/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytti/router_crypt/HEAD/Rakefile -------------------------------------------------------------------------------- /bin/rtrcrypt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytti/router_crypt/HEAD/bin/rtrcrypt -------------------------------------------------------------------------------- /lib/cli/cli.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytti/router_crypt/HEAD/lib/cli/cli.rb -------------------------------------------------------------------------------- /lib/ios/common.rb: -------------------------------------------------------------------------------- 1 | class RouterCrypt::IOS 2 | KEY = 'dsfd;kfoA,.iyewrkldJKDHSUBsgvca69834ncxv9873254k;fg87'.unpack("C*") 3 | end 4 | -------------------------------------------------------------------------------- /lib/ios/decrypt.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytti/router_crypt/HEAD/lib/ios/decrypt.rb -------------------------------------------------------------------------------- /lib/junos/common.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytti/router_crypt/HEAD/lib/junos/common.rb -------------------------------------------------------------------------------- /lib/junos/crypt.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytti/router_crypt/HEAD/lib/junos/crypt.rb -------------------------------------------------------------------------------- /lib/junos/decrypt.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytti/router_crypt/HEAD/lib/junos/decrypt.rb -------------------------------------------------------------------------------- /lib/nxos/common.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytti/router_crypt/HEAD/lib/nxos/common.rb -------------------------------------------------------------------------------- /lib/nxos/decrypt.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytti/router_crypt/HEAD/lib/nxos/decrypt.rb -------------------------------------------------------------------------------- /lib/router_crypt.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytti/router_crypt/HEAD/lib/router_crypt.rb -------------------------------------------------------------------------------- /router_crypt.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytti/router_crypt/HEAD/router_crypt.gemspec -------------------------------------------------------------------------------- /spec/ios/decrypt_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytti/router_crypt/HEAD/spec/ios/decrypt_spec.rb -------------------------------------------------------------------------------- /spec/junos/common_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytti/router_crypt/HEAD/spec/junos/common_spec.rb -------------------------------------------------------------------------------- /spec/junos/crypt_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytti/router_crypt/HEAD/spec/junos/crypt_spec.rb -------------------------------------------------------------------------------- /spec/junos/decrypt_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytti/router_crypt/HEAD/spec/junos/decrypt_spec.rb -------------------------------------------------------------------------------- /spec/nxos/decrypt_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytti/router_crypt/HEAD/spec/nxos/decrypt_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytti/router_crypt/HEAD/spec/spec_helper.rb --------------------------------------------------------------------------------