September 27

Made a Pwnagotchi >> M1n1N16m4

PWNAGOTCHI: DEEP REINFORCEMENT LEARNING FOR WIFI PWNING!
Source: https://pwnagotchi.ai/

Here are some pictures of my build/design of the case:

The Case is not perfect, but works 🙂 need some sanding to fit the ports.
STL files will be uploaded to Thingiverse

Specs:

  • Raspberry Pi 3b+
  • WaveShare 2.7 inch e-Paper HAT
  • RPI UPSpack v3
  • Sweex WiFi dongle (2.4ghz only (very old but works perfect on raspberry))
  • Real-time clock ds3231


TODO: wire UART from ups to raspberry and write a plug-in 

Backup and Restore

Backup your SD card using DD (osx)
sudo dd bs=4m if=/dev/disk* of=pwnagotchi.img

Restore SD after you F*ck Up
sudo dd if=/Path/To/pwnagotci/pwnagotchi.img of=/dev/disk* bs=4m
Or use balenaEtcher or any other Img writer

Buttons!

I wanted to make use of the buttons so I made a very simple python script.
But I never learned python so its a bit of hack and slach 😀 If it works it works!

Also Install gpiozero to make it work:

pip3 install gpiozero
import os
import gpiozero  # We are using GPIO pins
import time
 
button1 = gpiozero.Button(19) # GPIO17 connects to button 
button2 = gpiozero.Button(13) # GPIO17 connects to button 
button3 = gpiozero.Button(6) # GPIO17 connects to button 
button4 = gpiozero.Button(5) # GPIO17 connects to button 
 
while True:
  if button1.is_pressed:
    print("Button 1 is pressed!")
#    os.system("shutdown")
  else:
    print("")
  if button2.is_pressed:
    print("Button 2 is pressed!")
    os.system("touch /root/.pwnagotchi-auto")
    time.sleep(1.1)
    os.system("systemctl restart pwnagotchi")
    time.sleep(5.5)
  else:
    print("")
  if button3.is_pressed:
    print("Button 3 is pressed!")
    os.system("touch /root/.pwnagotchi-manu")
    time.sleep(1.1)
    os.system("systemctl restart pwnagotchi")
    time.sleep(5.5)
  else:
    print("")
  if button4.is_pressed:
    print("Button 4 is pressed!")
    os.system("reboot")
  else:
    print("")

I made it boot from rc.local

sudo nano /etc/rc.local

Added the location:

sudo python3 /home/pi/4_gpio_buttons.py &

But no I will use Powerutils Plugin just found out about that 😀

Extra Plugins I used:


Some Extra info about the plugins:
Plugin configs:

aircrackonly plugin

sudo pwnagotchi plugins install aircrackonly
sudo nano /etc/pwnagotchi/config.toml
# add the following lines to config.toml:
main.plugins.aircrackonly.enabled = true
main.plugins.aircrackonly.face = "(>.<)"

AGE plugin

sudo nano /etc/pwnagotchi/config.toml
# add the following lines to config.toml:
main.plugins.age.enabled = true
main.plugins.age.age_x_coord = 0
main.plugins.age.age_y_coord = 135
main.plugins.age.str_x_coord = 67
main.plugins.age.str_y_coord = 135

EXP plugin

sudo nano /etc/pwnagotchi/config.toml
# add the following lines to config.toml:
main.plugins.exp.enabled = true
main.plugins.exp.lvl_x_coord = 0
main.plugins.exp.lvl_y_coord = 145
main.plugins.exp.exp_x_coord = 0
main.plugins.exp.exp_y_coord = 145

Clock Plugin

I changed the Waveshare to my version: is_waveshare27inch and changed te pos: to (200, 80)

        if ui.is_waveshare27inch():
            pos = (135, 135) if memenable else (200, 80)
            ui.add_element('clock', LabeledValue(color=BLACK, label='', value='-/-/-\n-:--',
                                                 position=pos,
                                                 label_font=fonts.Small, text_font=fonts.Small))

Plugins not working:

  • Christmas plugin. >> Uses old config.yml file.
    (tried fixing it but after I made quick and dirty “fix” Wifi stopt scanning, very strange)

Here are some guides I found/used

Successful cracked 2 Wifi Passwords
Results of Online Hash Crack

Category: Uncategorized | Comments Off on Made a Pwnagotchi >> M1n1N16m4
June 5

HALF-LIFE 2: SURVIVOR Ver2.0

After a few years doing nothing with the translation.
I decided to release the project.

Will have a download for the game but will make a separate download file.
This separate download will have the vtf converted to png for anyone that wants continue on this project.

Most of the graphics to change are located at /hl2/materials/ac2d/*
I did also few of changes in the GameUI.dll, ac.dll, nesys.dll, srcds.dll
If you change your language setting for your computer to Japanese you will see the missing text in game but it will be in kanji
Also errorwin.exe got changed.

Just compare the files to see what I have changed.

I used a few tools, Hexeditor, Photoshop, notepad++ and also
you will need a photoshop vtf plugin to edit the vtf files.
(plugin will only work in photoshop 32bit)

source: https://nemstools.github.io/pages/Miscellaneous-PS_VTF_Plug-In.html

Links to downloads: Soon need to test on other computer if it boots.

Category: Uncategorized | Comments Off on HALF-LIFE 2: SURVIVOR Ver2.0
March 5

6 x 2 Macropad

Printed a macropad from thingiverse not this one but can’t find Og files.

but these look good too https://www.thingiverse.com/thing:2822140

Parts:

  • 3D printer filament of your choice
  • Arduino Pro Micro (ATmega32u4)
  • 12 x Cherry MX-style mechanical key switches

I used KBFirmware to make the Firmware for the Arduino Pro Micro:
Used this pin out to find out what the KBfirmware pinouts were using

The Wiring:

PINS

I tried this layout for Minecraft
Made using Keyboard Layout Editor


For Microsoft Teams

Teams Shortcuts:

  • Accept video call Command+Shift+A
  • Accept audio call Command+Shift+S
  • Decline call Command+Shift+D
  • Toggle mute Command+Shift+M
  • Start screen share session Command+Shift+E
  • Raise or lower your hand Command+Shift+K
  • Start video call Command+Shift+U
  • End audio call Command+Shift+H
  • Toggle fullscreen Command+Shift+F
  • Toggle video Command+Shift+O
  • Toggle background blur Command+Shift+P
  • Open Activity Command+1

How to Setup the Macros:

Flash the HEX for Arduino Pro Micro with QMK Toolbox

Category: Uncategorized | Comments Off on 6 x 2 Macropad
March 3

Demul on my Pinball

I got MAME running, but I wanted more..
So I tried loading Demul.

This didn’t go like I wanted at first needed to edit the script use a hidden command in pin popper to load the playfield “bezel”

But before I did that I needed to fit it on the screen,
I don’t know if I want to play on the playfield like I do now.
For now its ok but maybe I will change it in the future.
To make it work I needed to install windows app.
Found a good one that works, but after running it I found out that
I lost focus so I wrote a Autokey script to keep it ontop and press f3 to remove the menu bar in window view..
Script and hidden command for keeping playfield running below.
Here is a video how it resizes:

Here are some pictures of the 2 games I have running for now:

Made some backglasses for them and DMD images..
Wanted to use video, but found nothing fitting…

Will upload the script and tools later.

Category: Arcade, Coding, DIY, Download, Homebrew, Mod´s, Pinball, Uncategorized | Comments Off on Demul on my Pinball
March 1

Site Update….

Today I finally came around to updating my WordPress.
But now I know why I didn’t update before…
Needed to update PHP for it to work.

Good news I also updated it to https:// so my site is a bit secured..
so update your bookmarks 😀

Cheers Dc.

Category: Uncategorized | Comments Off on Site Update….