- https://github.com/Benjamin-Loison
- Joined on
2022-10-16
Block a user
How to
shred free disk slots?
date && time sudo sfill -vl /
Output:
Tue Dec 31 08:30:27 PM CET 2024
Using /dev/urandom for random input.
Wipe mode is insecure (two passes…
Get device network name potentially different due to router
nmap -sP 192.168.XXX.XXX
Output:
Starting Nmap 7.94SVN ( https://nmap.org ) at 2024-12-31 04:27 CET
Nmap scan report for benjamin-loison-hp-deb…
Dump native OS to be able to restore it by
adb sideload
Set *Restrict USB* > *Deny USB connections*/*Allow USB connections when unlocked* with
adb
DuckDuckGo and Google search "adb" "Restrict USB".
Decode data matrix
from pylibdmtx.pylibdmtx import decode
from PIL import Image
print(decode(Image.open('1280px-Datamatrix.svg.png')))
Output:
Traceback…
Decode data matrix
read_datamatrix --help
Output:
usage: read_datamatrix [-h] [-v] image [image ...]
Reads datamatrix barcodes in images
positional…
Decode data matrix
time read_datamatrix 1280px-Datamatrix.svg.png
Output:
Traceback (most recent call last):
File "/home/benjamin/venv/bin/read_datamatrix",…
Decode data matrix
sudo apt install -y libdmtx0t64
Output:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The…
Decode data matrix
sudo apt install -y libdmtx0a
Output:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Packag…
Decode data matrix
time read_datamatrix 1280px-Datamatrix.svg.png
Output:
Traceback (most recent call last):
File "/home/benjamin/venv/bin/read_datamatrix",…
Decode data matrix
pip install pylibdmtx
Output:
Collecting pylibdmtx
Downloading pylibdmtx-0.1.10-py2.py3-none-any.whl.metadata (5.6 kB)
Downloading…
Decode data matrix
pip uninstall pylibdmtx
Output:
Found existing installation: pylibdmtx 0.1.11
Uninstalling pylibdmtx-0.1.11:
Would remove:
/home/benjam…