SpaceInvaders

Bash CL arg with embedded URL

Nov 30th, 2015
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. URL - working by manually adding quotes to CL
  2. ]$ ./URLdecode.sh "http%3A%2F%2Fwww.wsoctv.com%2Fvideos%2Fnews%2Fcmpd-dwi-task-force-sees-major-increase-in-repeat%2FvCg7w8%2F&playerID=836881579001&playerKey=AQ~~,AAAAVzySnGE~,GJOLLPGiYiGXCOvXYf3Be2lY4_yXrG-x&domain=embed&dynamicStreaming=true"
  3. $1 = http%3A%2F%2Fwww.wsoctv.com%2Fvideos%2Fnews%2Fcmpd-dwi-task-force-sees-major-increase-in-repeat%2FvCg7w8%2F&playerID=836881579001&playerKey=AQ~~,AAAAVzySnGE~,GJOLLPGiYiGXCOvXYf3Be2lY4_yXrG-x&domain=embed&dynamicStreaming=true
  4.  
  5. What's this mean? Is it deocoding vars in the URL?
  6. ]$ ./URLdecode.sh http%3A%2F%2Fwww.wsoctv.com%2Fvideos%2Fnews%2Fcmpd-dwi-task-force-sees-major-increase-in-repeat%2FvCg7w8%2F&playerID=836881579001&playerKey=AQ~~,AAAAVzySnGE~,GJOLLPGiYiGXCOvXYf3Be2lY4_yXrG-x&domain=embed&dynamicStreaming=true
  7. [1] 14460
  8. [2] 14461
  9. [3] 14462
  10. [4] 14463
  11. $1 = http%3A%2F%2Fwww.wsoctv.com%2Fvideos%2Fnews%2Fcmpd-dwi-task-force-sees-major-increase-in-repeat%2FvCg7w8%2F
  12. [1] Done ./URLdecode.sh http%3A%2F%2Fwww.wsoctv.com%2Fvideos%2Fnews%2Fcmpd-dwi-task-force-sees-major-increase-in-repeat%2FvCg7w8%2F
  13. [2] Done playerID=836881579001
  14. [3]- Done playerKey=AQ~~,AAAAVzySnGE~,GJOLLPGiYiGXCOvXYf3Be2lY4_yXrG-x
  15. [4]+ Done domain=embed
Advertisement
Add Comment
Please, Sign In to add comment