Skip to content

Pentesting reports

Notes on penetration testing journeys

PGP: decrypt file contents to stdout

Posted on 2019/01/08 - 2019/01/10 by trouble

Using the following bash one-line command, the decrypted content will be shown in stdout rather than wrote to a file:

gpg -o - -d ENCRYPTEDFILE

To encrypt file content (not the file itself) with pgp and dump the output to stdout use this bash one-line command.

Posted in Bash one-linersTagged bash, decrypt, gpg, pgp

Post navigation

Bash one-line command: find files and replace strings into them
PGP: encrypt file content to stdout

Music from Soundcloud

Pages

  • Manifesto
  • Get in touch

Categories

  • Arbitrary file download
  • Bash one-liners
  • Bypass login
  • PHP snippets

RSS feed: RSS Feed from Exploit DB RSS Feed from Exploit DB

  • [remote] CVE-2026-42167 - ProFTPD mod_sql post-authentication SQLi - RCE
  • [remote] PCMan 2.0.7 - Buffer Overflow
  • [webapps] Linuxfabrik monitoring_plugins_6.0.0 - SSRF
  • [webapps] Nodemailer 9.0.0 - File Read/ SSRF
  • [webapps] flyto-core 2.26.7 - Arbitrary File Write
  • [dos] NanaZip 6.5 - DoS
  • [remote] D-Link DNS_340L - OS Command Injection
  • [remote] ipTIME A3004T - Remote Code Execution
  • [webapps] Duplicati 2.2.0.3 - JWT Signing Key Leak
  • [dos] Nmap 7.99 - Extension Header Integer Underflow

RSS feed: RSS Feed from Packetstorm RSS Feed from Packetstorm

RSS feed: Rss Feed from Nist Rss Feed from Nist

Proudly powered by WordPress | Theme: micro, developed by DevriX.