-
Notifications
You must be signed in to change notification settings - Fork 812
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed important decoder error regarding 'invalid list size', misc fixes
- Loading branch information
Showing
4 changed files
with
31 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/usr/bin/env python | ||
# -*- coding: utf-8 -*- | ||
|
||
import sys; | ||
sys.dont_write_bytecode = True; | ||
|
||
import os; | ||
import signal; | ||
import base64; | ||
|
||
from utilities import *; | ||
import decoder; | ||
|
||
reload(sys); | ||
sys.setdefaultencoding("utf-8"); | ||
|
||
|
||
|
||
if len(sys.argv) < 2: | ||
eprint("usage: " + sys.argv[0] + " [base64 string]"); | ||
exit(); | ||
|
||
processedData = decoder.processData("missing_tag", base64.b64decode(sys.argv[1]), doFilterNone=False, me="[email protected]", debug=True); | ||
print json.dumps(processedData, indent=4, ensure_ascii=False, sort_keys=True); |
File renamed without changes.