Project workflow

Diagram: Project workflow

Interactive diagram
Loading diagram…

Part A: Git workflow

Git commands

  1. Set your name (each member, on their own account):
Plain text
git config --global user.name "Juan Dela Cruz"
git config --global user.email "juan@example.com"
  1. Start the repository before changing anything:
Plain text
cd C:\xampp\htdocs\barangay-portal
git init
git add .
git commit -m "Initial commit"
  1. One commit per fix:
Plain text
git add .
git commit -m "Fix: SQL injection on login page"
  1. Check your history:
Plain text
git log --oneline

Diagram: Expected commit history

Interactive diagram
Loading diagram…

Good vs bad

  • Good: an initial commit with the untouched code. One commit per fix with a clear message. Commits from every member, spread across days.
  • Bad: one commit with everything. Messages like "update" or "final". All commits from one person.

Part B: Proof of every flaw

For every flaw (all 10), capture:

  1. Before screenshot: the attack working. Show the URL bar, the payload and the result.
  2. After screenshot: the same attack failing after your fix.
  3. The commit that fixed it (hash and message).

tip: Name screenshots consistently, e.g. 03-before.png, 03-after.png.

Part C: Report entry template

Plain text
Flaw #:            (1–7 from checklist, 8–10 for hidden flaws you found)
Flaw name:
Location:          file + line / page
How we found it:   tool, payload, or code review (required for hidden flaws)
Before screenshot:
Risk:              what an attacker could do
Fix:               code before → code after
Commit:            hash + message
After screenshot:
Next pageSystem Documentation
Batangas State University ARASOF-Nasugbu · College of Informatics and Computing Sciences · AY 2026–2027
Instructors: Engr. Engelbert P. Marcos, Mr. Oliver M. Hernandez