Просмотр исходного кода

Squashed 'sentry_safe/' changes from 4eb9e1ff2..60f2144d1

60f2144d1 fixing some big bugs
77daf739f combine 1
8a997c633 move base pack here
REVERT: 4eb9e1ff2 Fix syntax
REVERT: 2459be537 Add upstream remote
REVERT: 673d53371 Merge pull request #12 from H4ckd4ddy/rogue-version
REVERT: 0452b358c Pull rogue version
REVERT: 708e275e4 Merge pull request #10 from H4ckd4ddy/rogue-version
REVERT: 0c912f53b Pull rogue version
REVERT: 626457e7b Merge pull request #8 from bananu7/master
REVERT: 010c3595d Changed ValueMutex to new FuriMutex
REVERT: 15c32e717 Update plugin and add build instructions
REVERT: 19ac1838e Use "Flipper Application Manifest Format"
REVERT: 0d33cbf6e Update README.md
REVERT: a9372635a Initial commit
REVERT: 4018a16e4 Initial commit

git-subtree-dir: sentry_safe
git-subtree-split: 60f2144d1876574731d8b642b51304b5d9de82bb
Willy-JL 2 лет назад
Родитель
Сommit
9bd88d3e08
7 измененных файлов с 5 добавлено и 57 удалено
  1. 0 5
      .gitremotes
  2. 0 21
      LICENSE
  3. 0 26
      README.md
  4. 4 4
      application.fam
  5. BIN
      img/1.png
  6. BIN
      img/2.png
  7. 1 1
      sentry_safe.c

+ 0 - 5
.gitremotes

@@ -1,5 +0,0 @@
-[remote "upstream"]
-    url = https://github.com/H4ckd4ddy/flipperzero-sentry-safe-plugin
-    fetch = +refs/heads/*:refs/remotes/sentry-safe/*
-[alias]
-    merge-upstream = pull --no-edit upstream master

+ 0 - 21
LICENSE

@@ -1,21 +0,0 @@
-MIT License
-
-Copyright (c) 2022 Etienne Sellan
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.

+ 0 - 26
README.md

@@ -1,26 +0,0 @@
-# flipperzero-sentry-safe-plugin
-
-Flipper zero exploiting vulnerability to open any Sentry Safe and Master Lock electronic safe without any pin code.
-
-[Vulnerability described here](https://github.com/H4ckd4ddy/bypass-sentry-safe)
-
-### Installation
-
-- Download [last release fap file](https://github.com/H4ckd4ddy/flipperzero-sentry-safe-plugin/releases/latest)
-- Copy fap file to the apps folder of your flipper SD card
-
-### Usage
-
-- Start "Sentry Safe" plugin
-- Place wires as described on the plugin screen
-- Press enter
-- Open safe
-
-### Build
-
-- Recursively clone your base firmware (official or not)
-- Clone this repository in `applications_user`
-- Build with `./fbt fap_dist APPSRC=applications_user/flipperzero-sentry-safe-plugin`
-- Retreive builed fap in dist subfolders
-
-(More info about build tool [here](https://github.com/flipperdevices/flipperzero-firmware/blob/dev/documentation/fbt.md))

+ 4 - 4
application.fam

@@ -5,10 +5,10 @@ App(
     entry_point="sentry_safe_app",
     requires=["gui"],
     stack_size=1 * 1024,
-    order=40,
+    order=80,
     fap_icon="safe_10px.png",
     fap_category="GPIO",
-    fap_author="@H4ckd4ddy",
-    fap_version=(1, 0),
+    fap_author="@H4ckd4ddy & @xMasterX (ported to latest firmware)",
+    fap_version="1.1",
     fap_description="App exploiting vulnerability to open any Sentry Safe and Master Lock electronic safe without any pin code via UART pins.",
-)
+)



+ 1 - 1
sentry_safe.c

@@ -150,8 +150,8 @@ int32_t sentry_safe_app(void* p) {
             }
         }
 
-        view_port_update(view_port);
         furi_mutex_release(sentry_state->mutex);
+        view_port_update(view_port);
     }
 
     // Reset GPIO pins to default state