Skip to content

Commit

Permalink
bump version to 1.0 and update Parameterdecrypt function to accept op…
Browse files Browse the repository at this point in the history
…tional headers_str parameter
  • Loading branch information
Anof-cyber committed Dec 19, 2024
1 parent af9c29c commit be8714a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pycript.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
from pycript.temp_file import create_temp_dir, delete_temp_folder
errorlogtextbox = None
errorlogcheckbox = None
VERSION = "Version 0.4"
VERSION = "Version 1.0"

class BurpExtender(IBurpExtender, ITab,IMessageEditorTabFactory,IContextMenuFactory, IMessageEditorController, AbstractTableModel,IHttpListener,IExtensionStateListener):

Expand Down
2 changes: 1 addition & 1 deletion pycript/decryption.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#Parameterdecrypt --> Parameterdecrypt

def Parameterdecrypt(selectedlang, path, data,headers_str):
def Parameterdecrypt(selectedlang, path, data,headers_str=None):
body_parameter_byte = list(string_to_bytes(data))
result = execute_command(selectedlang, path, body_parameter_byte,headers_str)
if result is not False:
Expand Down
2 changes: 1 addition & 1 deletion pycript/encryption.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#Jsonvalueencrypt --> Parameterencrypt

def Parameterencrypt(selectedlang, path, data,headers_str):
def Parameterencrypt(selectedlang, path, data,headers_str=None):
body_parameter_byte = str(list(string_to_bytes(data)))
result = execute_command(selectedlang, path, body_parameter_byte,headers_str)

Expand Down

0 comments on commit be8714a

Please sign in to comment.