Git Product home page Git Product logo

pwnagetty's Introduction

Hey there, I'm Cyris. I'm a software developer, a maker and infosec enthusiast. Check out my work

Twitter Followers   GitHub followers   GitHub Stars   GitHub Sponsors

👋  Hi there

I'm a software developer based in New Zealand. I enjoy coding open-source projects that solve unique problems. I love combining my hobbies like 3D printing, coding and building various projects with RaspberryPi's or Arduino. Slightly obsessed with Home Automation and Home Labs. You can find me on Twitter @Sudo_Overflow. Feel free to tweet me any time. You can also check out my website Cyris.io for my blog and more.

 

👇  Current project

I'm currently working on @Tweetormator. A self-hosted solution for tweet scheduling and analytics aimed at home labs. It will be free and open source. Follow the Twitter feed to keep up with progress.

Tweetormator

 

✏️  Blog posts

 

🧰  My toolbox

JavaScript  NodeJS  ExpressJS   ReactJS  NextJS   TailwindCSS  Firebase  VSCode  Photoshop  Github  HTML5  CSS3

 

🖥  Past work

Readme Card   Readme Card

 

📊  Stats

Cyris' Github Stats

GitHub Streak

Follow me on Mastodon

pwnagetty's People

Contributors

cikez00 avatar cyrisxd avatar graalogosh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pwnagetty's Issues

[Bug] Hashes collected through Pwnagetty are in the wrong format

Summary:
When using the command pwnagetty to retrieve captured handshakes from a pwnagotchi device, the resulting <network>.hccapx files are in a format which Hashcat 6.1.1 cannot identify.

Steps to reproduce:

  1. Connect Pwnagotchi device in manu mode to pc
  2. Ensure pwnagetty index.js file has the correct credentials
  3. run pwnagetty in a target directory
  4. rename target file to capture.hccapx
  5. run Hashcat.exe -m 2500 <path/to/captue/>capture.hccapx
  6. Hashcat will display No hashes loaded

Severety: HIGH

db is not being written on a mac.

Running this on a mac, installed all dependencies via brew.

I'm a total noob at NodeJS, so I don't yet know the why, but I know that the script is creating a db.json file in my directory, but it is empty with length 0. I debugged, and concluded that the script was running perfectly up to the fs.writeFile.

I added some debug statements and confirmed that the 'db' variable was populated with a MAC address.

I confirmed that the JSON.stringify(db) command was indeed working properly.

I changed the fs.writeFile to a writeFileSync, and now the script works properly.

console.log("Entering db Write"); console.log(db); console.log(JSON.stringify(db)); // Write data back to database fs.writeFileSync(config.database, JSON.stringify(db), (err) => { if(err) { console.log("Error writing file", err); } else { console.log("Updated database... \n \n") console.log("===================") console.log(" All done. ") console.log("=================== \n") console.log("\n \n") } })

The error or else statements aren't being printed, but the file is being written with the MAC address now.

i can finish this investigation, and submit a pull request, or you can look into it if you'd like.

Command failed: hcxpcaptool

Hi I am trying to make pwnagetty work but I keep getting the same error every time.
Main catch: Error: Command failed: hcxpcaptool -z ./pmkid/BELL480_a89a93fc3b76.pmkid ./pcap/BELL480_a89a93fc3b76.pcap
/bin/sh: 1: hcxpcaptool: not found
Is the error im getting
Capture

HCCAPX and PMKID files have extra characters in front and at the end

Environment
OS: Kali running on WSL2 (Windows 10 Pro 2004)

When running the script it outputs the hccapx and pmkid files with junk data at the beginning and end.
Hashcat throws out Hashfile './pmkid/NeatureIoT_b2935b6ed980.pmkid' on line 1 (WPA*01...3bb397*4e6561747572655f496f54***): Token length exception. The WPA*01 and *** at the end exist on every pmkid and hccapx file.

SyntaxError: Unexpected end of JSON input

i get this after i run it.. i have gotten results before.
SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at /home/luni/Pwnagetty/bin/index.js:73:29
at FSReqWrap.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:53:3)

[request] counter for new finds

At the end print the names of new pmkid\handshakes found, and a count of how many new ones were found
ex.

----------------
wifi1
wifi2
wifi3

number of new handshakes found: 3
----------------

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.