Originally forked from raf-4/python-tiktok-Report — deobfuscated and rewritten for transparency.
The original code.py was obfuscated with marshal+zlib+base64 to hide its behavior.
This version is fully readable Python so you can see exactly what it does before running it.
Educational use only. For learning how TikTok reporting APIs work and how to defend against abuse.
- Takes a TikTok session ID ("season ID") from a logged-in account
- Verifies the session via TikTok's account info API
- Sends a POST request to the TikTok feedback/report endpoint with a reason code
pip install -r requirements.txt
python3 code.py
# Enter password: RaF
# Select report type (1-9)
# Enter session ID
# Enter target username (without @)| # | Type | Reason |
|---|---|---|
| 1 | Report content | 399 |
| 2 | Spam or harassment | 310 |
| 3 | Under 13 years of age | 317 |
| 4 | Fake information pseudonym | 3142 |
| 5 | Hate speech | 306 |
| 6 | Porn | 308 |
| 7 | Terrorist organizations | 3011 |
| 8 | Self-harm | 3052 |
| 9 | Harassment or bullying | 3072 |
POST https://www.tiktok.com/aweme/v1/aweme/feedback/
?aid=1233&reason={code}&report_type=user&object_id=
&target={username}&reporter_id={id}¤t_region=SA
Default: RaF (change it in the script)
- Log into TikTok in your browser
- Open DevTools → Application → Cookies →
www.tiktok.com - Copy the
sessionidcookie value - Past it when the script asks for "sezon"
The original payload was compressed with zlib, encoded with base85, and loaded via marshal. All API URLs, reason codes, and headers were extracted from the bytecode constants — nothing was added or removed.
#العربيه
sudo apt update
pkg install tsu
sudo apt install openssl
git clone https://github.com/raf-4/python-tiktok-Report.git
ls
cd python-tiktok-Report
ls
pkg install python3
pip install -r requirements.txt
ls
python3 code.py
- تقوم بإنشاء العديد من أنواع التقارير حول حساب TikTok محدد
- تستخدم معرّف الموسم
- التحكم والدعم في جميع المؤسسات
- إذا طُلب منك إدخال كلمة المرور، اكتب "RaF" واضغط على Enter للتأكيد.
- عندما يُطلب منك اختيار نوع التقرير، ادخل الرقم المقابل واضغط على Enter.
- إذا طُلب منك إدخال معرّف الموسم، اكتب الرقم المطلوب واضغط على Enter.
- إذا طُلب منك اسم المستخدم، اكتب اسم المستخدم بدون علامة "@" واضغط على Enter.
- إذا طُلب التحويل إلى اللغة الإنجليزية، اتبع التعليمات على واجهة المستخدم لتحديد اللغة المطلوبة.
- تقرير المحتوى
- الرسائل المزعجة أو التحرش
- دون سن الثالثة عشرة
- معلومات زائفة بالاسم المستعار
- خطاب الكراهية
- الإباحية
- المنظمات الإرهابية
- الإيذاء الذاتي
- التحرش أو البلطجة لشخص أعرفه
RaF