Portapack Mayhem V2.2.0

A new release of the famous Mayhem firmware for the HackRF + Portapack is out !

https://github.com/portapack-mayhem/mayhem-firmware/releases/tag/v2.2.0

We’re excited to share the latest updates in v2.2.0:

New Applications & Utilities:
– App Manager: A new settings app to manage which applications are visible in the menu.
– Detector: A new wide-band signal detector with a graphical RSSI history to help you find nearby transmitters.
– GFX EQ: A beautiful graphical audio equalizer for the WFM radio.
– Hopper: A powerful frequency hopping utility. Load a list of frequencies and transmit across them in various patterns.
– Level: The popular Level meter is back as an external app.
– Scanner: The frequency scanner is now an external app with improved performance.
– SD Card Wipe: The utility to securely wipe your SD card is now an external app.
– Stopwatch: A handy stopwatch and timer utility.
– WAV Viewer: The WAV file viewer and analyzer is now an external app.
– Antenna Length: The whip antenna calculator is now an external app.
– Playlist Editor: A new utility to create and edit .PPL replay playlists directly on the PortaPack.
– Debug PMem: A new debug utility to dump the contents of the persistent memory to the SD card.

New Games:
– Snake
– Tetris
– Breakout
– Doom
– Blackjack
– Battleship (POCSAG-based multiplayer)
– Space Invaders
– Dino Game (Chrome’s classic, now on your PortaPack!)

New Weather Satellite Decoders:
– WeFax Receiver: A dedicated app for receiving and decoding HF Weather Fax transmissions.
– NOAA APT Receiver: A dedicated app for receiving and decoding NOAA APT weather satellite images.

Enhancements & Improvements
– Analog Audio App:
New Demodulation Modes: Added AM-FM and WFM-AM modes specifically for decoding weather satellite transmissions (WeFax and NOAA APT).
Waterfall Zoom: Added a “ZOOM x2” feature in AM and AM-FM modes for a closer look at the spectrum.
Settings Saved: Your preferred AM mode and zoom factor are now saved and restored on startup.

– BLE RX App:
MAC Vendor Lookup: The app can now use the new MACADDRESS/macaddress.db file on your SD card to identify the manufacturer of BLE devices.
Improved Stability: Refactored to use the new asynchronous USB messaging system, improving stability and performance.
Better Channel Hopping: Channel hopping is now sequential (37-38-39) instead of random, ensuring more consistent discovery.
Accurate Power Reading: The reported dBm value now correctly accounts for LNA and VGA gain settings.
UI/UX: Improved error handling, keyboard entry modes, and list clearing.

– ADSB Receiver:
Enhanced Decoding: Now decodes more frame types (DF4, DF5, DF20, DF21) to extract Squawk codes, more accurate altitude, and callsigns.
True Airspeed (TAS): The app can now calculate and display True Airspeed (TAS) from Indicated Airspeed (IAS) and altitude data.
Improved Logging: Logs now include more detailed information like Squawk, SIL, and vertical rate.
Beep on Packet: Added an option to beep whenever a valid ADSB packet is received.

– Signal Generator (SigGen):
Major Overhaul: The SigGen app has been completely revamped with new modulation types, including BPSK, QPSK, DSB, AM (50% & 100% depth), and Pulsed CW. This makes it a much more versatile testing tool.
Improved UI: The user interface has been updated to logically group modulation and shape options.
File Manager:
Improved Navigation: The directory listing and pagination logic has been completely rewritten for a smoother and more intuitive experience.
Waterfall Gradient Installer: When you open a .txt file from the new WATERFALLS directory, you’ll be prompted to install it as the new default waterfall color scheme.

– Capture App:
Your settings for capture rate, file format, and auto-trim are now saved and restored automatically.
UI & UX Improvements
Customizable Waterfall Colors: The Looking Glass and Search apps now use a customizable color gradient. Create your own waterfall.txt file in the WATERFALLS directory on your SD card to change the look!
New “Dark” Theme: A new theme has been added for those who prefer a darker interface.

– New Settings Menus:
Display: Control the new “Fake Brightness” feature and set your screen type (TFT vs. IPS).
Button Speed: Adjust the repeat delay, repeat speed, and long-press delay for the physical buttons.
Responsive UI: Many applications and widgets now dynamically adjust their layout to better fit different screen resolutions.
Improved Keyboard: The on-screen keyboard now defaults to the most logical mode (Alpha, Numeric) depending on the context.
New Icons: Added a huge number of new icons for all the new apps and features.

Under the Hood & For Developers
– External App Architecture: The firmware now supports loading and running applications from the SD card. This is a fundamental architectural shift that allows for greater flexibility and expansion.
– Build System: The minimum required CMake version has been updated to 3.16.
– Code Refactoring: Many internal apps have been moved to the new external app system, cleaning up the main firmware codebase. The de_bruijn.cpp generator has been removed in favor of more modern methods.

SD Card Content

New Directories:
– WATERFALLS/: Place your custom waterfall color gradient files here (e.g., aurora.txt, flame.txt).
– HOPPER/: Store your frequency lists for the new Hopper app here.
– MACADDRESS/: Place the macaddress.db file here for the BLE RX vendor lookup feature.
– SUBGHZ/: For Flipper-compatible .sub files.

New Files:
– Added example files for the new WATERFALLS and HOPPER directories.
– Added macaddress.db for BLE vendor lookup.
– Cleaned Up: Removed old and unused FREQMAN files.

Don’t forget our various and usefull websites:

Mayhem HUB: https://hackrf.app/

Mayhem Main Repository: https://github.com/portapack-mayhem/mayhem-firmware

Mayhem Wiki: https://github.com/portapack-mayhem/mayhem-firmware/wiki

Mayhem User Provided Freqman Files: https://github.com/portapack-mayhem/mayhem-freqman-files

Mayhem MDK: https://github.com/portapack-mayhem/mayhem-mdk

Mayhem ESP32 Module: https://github.com/htotoo/ESP32-Portapack

Thanks to all the contributors on that release !!

#hackrf #portapack #mayhem

New portapack mayhem app, Level app !

Level app interface

The level app is as simple as possible and allow you to monitor available level meters in a single view.
There is a live graph of each RSSI values and power level.

Link to Documentation

Link to official Nightly build

or click to download compiled version at the time of the post (bin only)

#hackrf #portapack #mayhem #level-app

Edit: it’s the hundredth post of that blog, yay !

Khelda II [KrampusHack 2021] Game Jam

I made a Zelda II alike world with a big map on top view and some dungeons in side view. Permanent world, only the monsters are reset between dungeons / starts.

The limit was way overdue before I could do all I wanted so I’m linking both version here, the entry for the compo and the updated / finalised one.

Compo rules: https://tins.amarillion.org/krampu21/rules/

Tins log : https://tins.amarillion.org/krampu21/log/entrant/4277

git repo: https://framagit.org/GullRaDriel/krampushack2021-kheldaii

Click here for full pack with datas, sources and binaries

Screens:

Gameplay demo : 

Khelda II gameplay demo

=============================================

How to play:

  • You are Kwink. You have to save princess Khelda which is kept prisonner by an Ogre
  • You directly start on the main map. Move around and kill some simple monsters to gain a bit of XP/Life before trying yourself at the dungeons.
  • Each dungeons is guarded by a lot of mobs. Killing them is up to you. Leveling up before being traped in a dungeon is recommended
  • Find all the 3 key fragments before going onto the last dungeon. Deliver princess Khelda by defeating the last mob

Keys:

  • Esc: quit
  • Arrow keys: move, go up/down or jump/crouch
  • CTRL/LeftMouseButton: attack
  • F1 -> F4t: change weapon (Wood stick, sword, magic bow, magic wand)
  • Key PAD PLUS: shield potion
  • Key PAD ENTER: health potion

Items to be collected:

  • shield (passive, always equiped once found)
  • sword of Khelda
  • magic ice wand
  • infinite arrow bow
  • health potion
  • shield potion

Obtain: the kiss of the princess one the Ogre is dead !

Tips:

  • Leveling up a bit on easy monsters before trying yourself to a dungeon
  • Wandering around and use the map find the sword, the magic wand, the arrow, the shield
  • Loot a bit of potions before entering the last dungeon

==============================================

Options:

  • configurable log level, example: ./KheldaII.exe -V DEBUG
  • cheat: editable player_state.json after first execution

==============================================

How to build: need gcc on linux and gcc + msys / cygwin on windows

mkdir -p KheldaII
mkdir -p KheldaII/LIB
mkdir -p KheldaII/Src/
cd KheldaII/LIB
git clone https://framagit.org/GullRaDriel/nilorea-library.git .
cd ../Src/
git clone https://framagit.org/GullRaDriel/krampushack2021-kheldaii.git
cd https://framagit.org/GullRaDriel/krampushack2021-kheldaii.git
make

Did Shnorr broke RSA ?



A recently published paper by a reputable German mathematician and cryptographer has garnered widespread attention for its claim to have destroyed the RSA algorithm. However, many people are skeptical. Join us as we discuss the paper’s content, the proposed methodology, and the public discussion it has generated.

https://sectigo.com/resource-library/root-causes-154-did-claus-peter-schnorr-just-break-rsa

#RSA #TLS #SSL #SHNORR

KrampusHack 2020 FINISHED

And here is my entry: a space shooter !

RazorCrest (click here to download)

Task (for NunoMartinez):

Finally, here it is my wishlist:
* Fast game. I mean that you can play a complete “play” in few minutes.
* Minimalistic graphics. Don’t make them complex.
* Finally, select one of your own wishes.

How I achieved the rules:

  • Fast game. I mean that you can play a complete “play” in few minutes.
    ===> You start it you play
  • Minimalistic graphics. Don’t make them complex.
    ===> Only 4 sprites and they are very basic due to my drawing style, the rest is only circles, triangles and rectangles
  • Finally, select one of your own wishes.
    ===> Particles !!!

How to play:

-up to start moving
-arrows to move the ship
=> more XP = quicker
-use the mouse to aim and use mouse button or key CTRL to fire
=> more XP = more and better bullets, better accuracy
-green monsters are light enemies that are just traveling here
-yellow monsters are aggressives enemies that are targeting you
-red monsters are very aggressives enemies that are targeting you, and they are more solid
-the more you kill the more power you have to kill
-hitting the walls or being hit by an enemy makes you loose life and XP (thus fire power)

Screenshots:

Building from source:

-Go with a shell into to SRC/KRAMPUSHACK2020
-Type make
-If it works move the binary to ../..
-If it’s not working, come and complain here :-p

Hint for finishing

-Because the ship can speed up does not mean you should use it all the time
-Kill as much as you can on first levels so you have the firepower for next levels
-Use thrust/slow down/side jumps to avoid enemies while shooting at them