diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml new file mode 100644 index 0000000..3657b0b --- /dev/null +++ b/.github/workflows/build-release.yml @@ -0,0 +1,35 @@ +name: Build and Release + +on: + push: + tags: + - 'v*' + +jobs: + build: + runs-on: ubuntu-latest + permissions: + contents: write + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' + + - name: Build XPI + run: | + # Create the .xpi file by zipping contents associated with the extension + # Exclude git directories, DS_Store, node_modules, and the xpi itself if it exists + zip -r rep-plus.xpi * -x "*.git*" -x "*.DS_Store" -x "node_modules/*" -x "*.xpi" -x ".github/*" + + - name: Create Release + uses: softprops/action-gh-release@v1 + with: + files: rep-plus.xpi + draft: false + prerelease: false + generate_release_notes: true diff --git a/README.md b/README.md index 77a7898..2b887c8 100644 --- a/README.md +++ b/README.md @@ -34,11 +34,10 @@ rep+ is a lightweight Firefox DevTools extension inspired by Burp Suite's Repeat ## ๐Ÿš€ Install rep+ Extension -### Chrome -[![rep+](https://img.shields.io/badge/rep%2B%20Chrome%20Extension-Install%20Now-4285F4?style=for-the-badge&logo=googlechrome&logoColor=white)](https://chromewebstore.google.com/detail/rep+/dhildnnjbegaggknfkagdpnballiepfm) - ### Firefox -Firefox install coming soon! ๐ŸฆŠ +๐ŸฆŠ **Now Available!** Clone and load manually (see [Installation](#installation) below). + +> **Note:** This Firefox port includes all features from the Chrome version, plus Auth Analyzer improvements. ## Table of Contents @@ -65,6 +64,9 @@ Firefox install coming soon! ๐ŸฆŠ - Starring for requests, pages, and domains (auto-star for new matches). - Timeline view (flat, chronological) to see what loaded before a request. - Filters: method, domain, color tags, text search, regex mode. +- **Global Static Filter**: Toggle in "More Menu" to hide static files (images, JS, CSS) from the main list. +- **Resizable Panels**: Main sidebar and Auth Analyzer panel can be resized by dragging the edge. +- **Vertical Comparison**: Auth Analyzer results show Original vs Swapped responses stacked vertically for better readability. ### Views & Editing - Pretty / Raw / Hex views; layout toggle (horizontal/vertical). @@ -80,6 +82,50 @@ Firefox install coming soon! ๐ŸฆŠ - Mark positions with `ยง`, configure payloads, pause/resume long runs. - Response diff view to spot changes between baseline and attempts. +### ๐Ÿ” Auth Analyzer (Firefox Enhanced) +Comprehensive authentication and authorization testing toolkit inspired by Burp Suite's Auth Analyzer extension. + +#### Key Features +- **Automatic Cookie Swapping**: Replay requests with different session tokens to detect authorization bypasses +- **Real-time Analysis**: Automatically analyze all captured requests (optional with domain scope filtering) +- **Manual Testing**: "Test Auth" button for on-demand single request analysis +- **Response Comparison Engine**: + - **SAME** (๐Ÿ”ด Bypass): Identical responses indicate potential authorization bypass + - **SIMILAR** (๐ŸŸก Warning): Same status code but slightly different content (90-98% similar) + - **DIFFERENT** (๐ŸŸข Secure): Properly denied access +- **Smart Normalization**: Removes dynamic content (timestamps, CSRF tokens, script tags) for accurate comparison +- **Token Similarity Algorithm**: Uses Jaccard index on word tokens for content-aware comparison +- **Bulk Replay**: Analyze all captured requests against a different session in one click +- **Session Management**: Import/export session configurations +- **Filtering Options**: Scope restriction by domain/URL pattern +- **Static File Exclusion**: Automatically skip CSS, JS, images, and other static resources + +#### Workflow +1. Configure victim/test session cookie in Auth Analyzer settings +2. Browse application with privileged account (original session) +3. Auth Analyzer replays each request with the victim cookie +4. Results panel shows color-coded analysis: + - ๐Ÿ”ด **SAME**: Critical! Unauthorized access granted (potential bypass) + - ๐ŸŸก **SIMILAR**: Warning! Nearly identical response (investigate further) + - ๐ŸŸข **DIFFERENT**: Secure! Access properly denied + +#### Use Cases +- **Privilege Escalation Testing**: Test if low-privilege users can access admin endpoints +- **Horizontal Privilege Escalation**: Test cross-user data access (IDOR) +- **Session Testing**: Verify endpoints properly check authorization +- **Bug Bounty Automation**: Bulk test applications for authorization flaws + +#### Comparison Engine +Our Firefox implementation uses an **advanced content-aware comparison** approach: +- **Normalization**: Removes ` @@ -14,15 +17,6 @@ -
-
- โญ Give rep+ a star on GitHub and consider - sponsoring on GitHub or - Open Collective! -
- -
-