403Webshell
Server IP : 216.92.14.13  /  Your IP : 216.73.216.171
Web Server : Apache
System : Linux vps4089.pairvps.com 5.15.0-190-generic #200-Ubuntu SMP Fri Aug 7 15:06:04 UTC 2026 x86_64
User : rmlac2fmr ( 1040637)
PHP Version : 8.2.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/home/rmlac2fmr/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/home/rmlac2fmr//check_backup.py
import json, glob, os

backup_dir = "/home/rmlac2fmr/public_html/jn.com/ops/backups/"
files = sorted(glob.glob(backup_dir + "db-*.json"), reverse=True)

for f in files[:3]:
    db = json.load(open(f))
    approvals = db.get("approvals", [])
    foster = [a for a in approvals if "foster" in a.get("description","").lower() or "foster" in a.get("requestedBy","").lower() or "date" in a.get("type","").lower()]
    print(f"{os.path.basename(f)}: {len(approvals)} approvals, Foster matches: {len(foster)}")
    for a in foster:
        print(f"  {a['id']} {a['status']} {a.get('type','')} {a.get('description','')[:60]}")
    if not foster:
        # Show all in case it's under a different name
        for a in approvals:
            if a["id"] not in ["AP1774493018258","AP1774542680646","AP1774551174053","AP1774555580607","AP1774642381345","AP1774984657199"]:
                print(f"  EXTRA: {a['id']} {a['status']} {a.get('type','')} {a.get('description','')[:60]}")

Youez - 2016 - github.com/yon3zu
LinuXploit