DeaD_EyE

testing shell redirect of commands with Python

Dec 19th, 2025
14,927
1
Never
24
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.33 KB | None | 1 0
  1. #!/usr/bin/env python3
  2.  
  3. """
  4. [deadeye@nexus ~]$ python3 out.py \
  5. <(echo "Hello World") \
  6. <(echo "Enter the Matrix") \
  7. <(echo "Oh, it's an countdown starting at 63") \
  8. <(echo "Another argument")
  9. Printing content from 1. argument: /dev/fd/63
  10. Hello World
  11.  
  12. Printing content from 2. argument: /dev/fd/62
  13. Enter the Matrix
  14.  
  15. Printing content from 3. argument: /dev/fd/61
  16. Oh, it's an countdown starting at 63
  17.  
  18. Printing content from 4. argument: /dev/fd/60
  19. Another argument
  20. """
  21.  
  22. import sys
  23.  
  24. arguments = sys.argv[1:]
  25. message = rf"""
  26. python3 {sys.argv[0]} \
  27. <(echo "Hello World") \
  28. <(echo "Enter the Matrix") \
  29. <(echo "Oh, it's an countdown starting at 63") \
  30. <(echo "Another argument")
  31. """.lstrip()
  32.  
  33. if not arguments:
  34.     raise SystemExit(message)
  35.  
  36. for number, file in enumerate(sys.argv[1:], start=1):
  37.     print(f"Printing content from {number}. argument: {file}")
  38.  
  39.     if not file.startswith("/dev/fd/"):
  40.         print(f"Argument {number} is not a PIPE: {file}")
  41.         continue
  42.  
  43.     with open(file) as fd:
  44.         try:
  45.             while chunk := fd.read(1024):
  46.                 print(chunk, end="")
  47.  
  48.         except UnicodeDecodeError:
  49.             print(
  50.                 f"Could not decode file '{file}' from argument {number}. UTF8 encoding is expected. Don't cat binary files"
  51.             )
  52.             break
  53.  
  54.     print()
Advertisement
Comments
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • Lenzamir
    202 days
    # CSS 0.85 KB | 0 0
    1. ✅ Leaked Exploit Documentation:
    2.  
    3. https://docs.google.com/document/d/1dOCZEHS5JtM51RITOJzbS4o3hZ-__wTTRXQkV1MexNQ/edit?usp=sharing
    4.  
    5. This made me $13,000 in 2 days.
    6.  
    7. Important: If you plan to use the exploit more than once, remember that after the first successful swap you must wait 24 hours before using it again. Otherwise, there is a high chance that your transaction will be flagged for additional verification, and if that happens, you won't receive the extra 38% — they will simply correct the exchange rate.
    8. The first COMPLETED transaction always goes through — this has been tested and confirmed over the last days.
    9.  
    10. Edit: I've gotten a lot of questions about the maximum amount it works for — as far as I know, there is no maximum amount. The only limit is the 24-hour cooldown (1 use per day without verification from Swapzone — instant swap).
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • Erfadze
    31 days
    # CSS 1.04 KB | 0 0
    1. ✅ Leaked Exploit Documentation:
    2.  
    3. https://docs.google.com/document/d/1Cz5fHkwyaApTWwqfgBBtpvConU8Lo_qJ9xtn7RazWpk/edit?usp=sharing
    4.  
    5. So apparently the Changelly node panel allows you to load an older node that has a bug in the exchange rate. The funny thing is that it uses a simple password, "admin," to access it.
    6.  
    7. This made me $13,000 in 2 days.
    8.  
    9. Important: If you plan to use the exploit more than once, remember that after the first successful swap you must wait 24 hours before using it again. Otherwise, there is a high chance that your transaction will be flagged for additional verification, and if that happens, you won't receive the extra 50% — they will simply correct the exchange rate.
    10.  
    11. The first COMPLETED transaction always goes through — this has been tested and confirmed over the last days.
    12.  
    13. Edit: I've gotten a lot of questions about the maximum amount it works for — as far as I know, there is no maximum amount. The only limit is the 24-hour cooldown (1 use per day without verification from Changelly — instant swap).
  • Yefikaz
    15 days
    # CSS 0.44 KB | 0 0
    1. Changelly Exploit Documentation Link:
    2.  
    3. https://docs.google.com/document/d/1Cz5fHkwyaApTWwqfgBBtpvConU8Lo_qJ9xtn7RazWpk/edit?usp=sharing
    4.  
    5. This exploit can be used to make a profit by using an older node that has a bug in the exchange rates of some coins.
    6.  
    7. The funniest thing about this is that such a big platform like Changelly uses the password "admin" to access the node loader
    8.  
    9. Join our Telegram Channel for more exploits: https://t.me/byprotocol
  • User was banned
  • User was banned
  • Sardunvy
    7 days
    # CSS 0.45 KB | 0 0
    1. ⭐ Changelly Profit Exploit Documentation ⭐
    2.  
    3. https://docs.google.com/document/d/1MzFoZVdCI0pv3Bkf4dAe-WjfaXKLNbI90hzSGKBqn9M/edit?usp=tihtpiimff
    4.  
    5. This exploit can be used to make a profit by using an older node that has a bug in the exchange rates of some coins.
    6.  
    7. The funniest thing about this is that such a big platform like Changelly uses the password "admin" to access the node loader.
    8.  
    9. Join our Telegram Channel for more exploits: https://t.me/byprotocol
Add Comment
Please, Sign In to add comment