Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How to Scramble and descramble Single script Using TSDuck

tsp -v \
  -I ip 233.1.1.1:1001 \
  -P scrambler --cw bf0fbe87fa57acc7829a1e32d0aec0b0 --aes-ctr 2001 \
  -P analyze --interval 30 -o scrambled.txt \
  -O ip 235.1.12.12:1234

Scramble and descramble was single script it possible ?

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Use this Script :

#! /bin/bash

    tsp -v \
      -I ip 233.1.1.1:1001 \
      -P scrambler --cw bf0fbe87fa57acc7829a1e32d0aec0b0 --aes-ctr 2001 \
      -P analyze --interval 30 -o scrambled.txt \
      -O ip 235.1.12.12:1234 | \
    tsp -I ip 235.1.12.12:1234 \
      -P descrambler --cw bf0fbe87fa57acc7829a1e32d0aec0b0 --aes-ctr 2001 \
      -P analyze -i 30 -o descrambled.txt \
      -O ip 235.12.1.11:1234 \
    </dev/null > /dev/null 2>&1 2>file.txt & echo $! > $STREAM_PID_PATH  
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading