
    8+j%                         S SK r S SKrS SKrS SKrS SKr\R
                  R                  \R
                  R                  \5      S5      r	S r
g)    Nzconfig.jsonc                     SSSS.SSSSS.S	.n  [         R                  R                  [        5      (       dO  [        R
                  " S
[         S35         [        [        S5       n[        R                  " XSS9  S S S 5        U $ [        [        SSS9 n[        R                  " U5      nS S S 5        [        W[        5      (       d  [        R                  " S5        U $ SU;  a	  U S   US'   O$U S    H  nXCS   ;  d  M  U S   U   US   U'   M     SU;  a	  U S   US'   O$U S    H  nXCS   ;  d  M  U S   U   US   U'   M     SU;  a  [        R                  " S5      n[         R"                  " U5      R%                  S5      nXcS'    [        [        SSS9 n[        R                  " X1SSS9  S S S 5        [        R&                  " S5        U$ U$ ! , (       d  f       U $ = f! [         a$  n[        R                  " SU 35         S nAU $ S nAff = f! , (       d  f       GNs= f! , (       d  f       N}= f! [         a$  n[        R
                  " SU 35         S nAU$ S nAff = f! [        R(                   a&  n[        R                  " SU S35        U s S nA$ S nAf[*         a&  n[        R                  " SU S35        U s S nA$ S nAf[         a&  n[        R                  " SU S35        U s S nA$ S nAff = f) NSentinelaC2z0.0.0.0i9  )namehostport   i  
   )max_attacksmax_timemin_timethreads)serverglobal_limitszConfig file not found at z, creating default configw   )indentzCould not create config file: rzutf-8)encodingz*Invalid config file format, using defaultsr   r   
bot_secret    F)r   ensure_asciiz(Generated and saved bot_secret to configz%Could not save bot_secret to config: zInvalid JSON in config file: z, using defaultsz)Permission denied accessing config file: zError loading config: )ospathexistsCONFIG_PATHloggingwarningopenjsondump	Exceptionerrorload
isinstancedictsecretstoken_bytesbase64	b64encodedecodeinfoJSONDecodeErrorPermissionError)default_configfeconfigkeybot_secret_bytesbot_secret_b64s          %/tmp/OverburstC2/src/config/config.pyconfigsr6   	   s    "
 	
N3ww~~k**OO7}D]^_D+s+qIIn: , "!+sW5YYq\F 6 &$''MMFG!!6!-h7F8%h/X..,:8,DS,IF8$S) 0 &(&4_&EF?#%o6_553A/3RSV3WF?+C0 7 v%&2226#--.>?FFwON#1< M+sW=IIfF >GH vM ,+ "!  D >qcBCC!!D 654 >=  M"Gs KLLM  5aS8HIJ A!DTUV .qc1ABCs	  AI- G( 'G=G( I- I- H-4I- "I- /I- 6AI- H< H+4H< I- I- 
G% G( #I- %G( (
H2HI- HI- 
H(#I- +
H95H< <
I*I%I- %I**I- -LJ"L"L/K
LLK>8L>L)r   r   r(   r&   r   r   joindirname__file__r   r6        r5   <module>r<      s;     	   ggll277??84mDBr;   