AnonSec Shell
Server IP : 92.204.138.22  /  Your IP : 3.144.243.83
Web Server : Apache
System : Linux ns1009439.ip-92-204-138.us 4.18.0-553.8.1.el8_10.x86_64 #1 SMP Tue Jul 2 07:26:33 EDT 2024 x86_64
User : internationaljou ( 1019)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/internationaljou/public_html/admin/js/BROKY_ADMIN/alfasymlink/root/bin/panopta-agent/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/internationaljou/public_html/admin/js/BROKY_ADMIN/alfasymlink/root/bin/panopta-agent/panopta_agent_noroot.py
#!/usr/bin/env python

import getpass
import os
import os.path
import sys
home = os.path.expanduser("~")

ACCEPTABLE_SYNC_DELAY = 20
AGG_URL = '{agg_url}'
BASE_CONFIG_DIR = os.path.join(home, 'etc')
BASE_CUSTOM_PLUGIN_DIR = os.path.join(home, 'share')
BASE_DATA_DIR = os.path.join(home, 'lib')
BASE_LOG_DIR = os.path.join(home, 'log')
BIN_DIR = os.path.join(home, 'bin')
BRAND = '{brand}'
LIB_DIR = os.path.join(home, 'lib')
PKG_DIR = '{pkg_dir}'
STARTUP_TIMEOUT = 2  # In minutes
USER = getpass.getuser()
VERSION = '{version}'

# Add the main dependency directory
sys.path.insert(0, os.path.join(home, 'lib/dependencies'))

# Add platform/version-specific dependency directory if present
version = sys.version_info
sys.path.insert(0, os.path.join(home, 'lib/dependencies/%s/python%s.%s' % (sys.platform, version[0], version[1])))

# Add the main agent code directory
sys.path.insert(0, os.path.join(home, 'lib/library'))

from agent import Agent

if __name__ == '__main__':
    agent = Agent(BRAND,
                  AGG_URL,
                  VERSION,
                  USER,
                  BIN_DIR,
                  LIB_DIR,
                  PKG_DIR,
                  STARTUP_TIMEOUT,
                  BASE_CONFIG_DIR,
                  BASE_CUSTOM_PLUGIN_DIR,
                  BASE_DATA_DIR,
                  BASE_LOG_DIR,
                  ACCEPTABLE_SYNC_DELAY)
    agent.main()

Anon7 - 2022
AnonSec Team