File size: 720 Bytes
ece3e8e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import re

try:
    with open('instahyre_engine.py', 'r', encoding='utf-8') as f:
        content = f.read()

    old_cred = '''    if not email:
        email = os.getenv("INSTAHYRE_EMAIL", "gokuuchihatamil@gmail.com")
    if not password:
        password = os.getenv("INSTAHYRE_PASSWORD", "")'''

    new_cred = '''    if not email:
        email = "manojprofessional007@gmail.com"
    if not password:
        password = "oxgrxcwblaansfsw"'''

    content = content.replace(old_cred, new_cred)

    with open('instahyre_engine.py', 'w', encoding='utf-8') as f:
        f.write(content)
        
    print("Successfully hardcoded credentials in instahyre_engine.py")
except Exception as e:
    print("Error:", e)