143 lines
3.1 KiB
Markdown
143 lines
3.1 KiB
Markdown
# Sample Data Information
|
|
|
|
This document contains information about the sample data created for testing the Fraud & Scam Reporting Platform.
|
|
|
|
## Test Users
|
|
|
|
### Administrator
|
|
- **Username:** `admin`
|
|
- **Password:** `admin123`
|
|
- **Email:** admin@fraudplatform.bg
|
|
- **Role:** Administrator
|
|
- **Access:** Full admin access, can manage users, view analytics, moderate reports
|
|
|
|
### Moderators
|
|
- **Username:** `moderator1`
|
|
- **Password:** `mod123`
|
|
- **Email:** moderator1@fraudplatform.bg
|
|
- **Role:** Moderator
|
|
|
|
- **Username:** `moderator2`
|
|
- **Password:** `mod123`
|
|
- **Email:** moderator2@fraudplatform.bg
|
|
- **Role:** Moderator
|
|
|
|
### Normal Users
|
|
All normal users have the password: `user123`
|
|
|
|
1. **john_doe**
|
|
- Email: john@example.com
|
|
- Name: John Doe
|
|
|
|
2. **jane_smith**
|
|
- Email: jane@example.com
|
|
- Name: Jane Smith
|
|
|
|
3. **ivan_petrov**
|
|
- Email: ivan@example.com
|
|
- Name: Ivan Petrov
|
|
|
|
4. **maria_georgieva**
|
|
- Email: maria@example.com
|
|
- Name: Maria Georgieva
|
|
|
|
5. **test_user**
|
|
- Email: test@example.com
|
|
- Name: Test User
|
|
|
|
## Sample Scam Reports
|
|
|
|
8 sample reports have been created with various statuses:
|
|
|
|
### Verified Reports (5)
|
|
1. **Fake Bulgarian Bank Website** - Phishing scam
|
|
2. **Romance Scam on Dating Site** - Romance scam
|
|
3. **Fake Investment Opportunity** - Investment scam
|
|
4. **Tech Support Scam Call** - Tech support scam
|
|
5. **Fake Online Store** - Fake product scam
|
|
6. **Fake Job Offer** - Other scam type
|
|
|
|
### Pending Review (1)
|
|
- **Phishing Email - Tax Refund** - Phishing scam
|
|
|
|
### Under Review (1)
|
|
- **Advance Fee Fraud - Lottery Win** - Advance fee fraud
|
|
|
|
## Sample Tags
|
|
|
|
8 tags have been created:
|
|
- Phishing
|
|
- Fake Website
|
|
- Romance Scam
|
|
- Investment Scam
|
|
- Tech Support
|
|
- Identity Theft
|
|
- Fake Product
|
|
- Advance Fee
|
|
|
|
## OSINT Data
|
|
|
|
OSINT tasks and results have been created for the first 5 verified reports, including:
|
|
- WHOIS lookups
|
|
- DNS lookups
|
|
- SSL certificate checks
|
|
- Email analysis
|
|
|
|
## Moderation Data
|
|
|
|
- Moderation queue entries for pending reports
|
|
- Moderation actions for verified reports
|
|
- Assigned moderators for some reports
|
|
|
|
## Analytics Data
|
|
|
|
- Report statistics for the last 7 days
|
|
- User statistics for today
|
|
|
|
## Usage
|
|
|
|
To recreate sample data, run:
|
|
```bash
|
|
python manage.py create_sample_data
|
|
```
|
|
|
|
To clear existing data and recreate:
|
|
```bash
|
|
python manage.py create_sample_data --clear
|
|
```
|
|
|
|
## Testing Scenarios
|
|
|
|
1. **Login as Admin:**
|
|
- View all reports
|
|
- Access analytics dashboard
|
|
- Manage users
|
|
- Moderate reports
|
|
|
|
2. **Login as Moderator:**
|
|
- View moderation dashboard
|
|
- Review pending reports
|
|
- Approve/reject reports
|
|
- View OSINT results
|
|
|
|
3. **Login as Normal User:**
|
|
- View verified reports
|
|
- Create new reports
|
|
- View own reports
|
|
- Edit/delete pending reports
|
|
|
|
4. **Test MFA:**
|
|
- Enable MFA from profile
|
|
- Scan QR code with authenticator app
|
|
- Verify setup
|
|
- Test login with MFA
|
|
|
|
## Notes
|
|
|
|
- All sample users have email verification enabled
|
|
- All users have given consent (GDPR compliance)
|
|
- Reports have realistic Bulgarian context
|
|
- OSINT data is simulated for demonstration purposes
|
|
- Dates are randomized within the last 30 days
|
|
|