Skip to content

Commit

Permalink
Fixes #2
Browse files Browse the repository at this point in the history
  • Loading branch information
righettod committed Sep 25, 2018
1 parent 4c198d0 commit 5647b16
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 15 deletions.
22 changes: 12 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![Build Status](https://travis-ci.org/righettod/activity-trail-log.svg?branch=master)](https://travis-ci.org/righettod/activity-trail-log)
[![Build Status](https://travis-ci.org/righettod/log-requests-to-sqlite.svg?branch=master)](https://travis-ci.org/righettod/log-requests-to-sqlite)

# Activity Trail Log
# Log Requests to SQLite

This extension have a single objective:

Expand All @@ -25,23 +25,25 @@ In the same time, i cannot give the BURP session file to the client because:

So, i have decided to write this extension in order to keep the information of any HTTP request send in a SQLIte database that i can give to the client along the report and let him dig into the DB via SQL query to answer his questions and, in the same time, have a proof/history of all requests send to the target application...

Once loaded, the extension create, if needed, a DB file named **ActivityTrailLog.db** in the **user home folder** and silently record every HTTP request send during the BURP session.
Once loaded, the extension create, if needed, a DB file named `LogRequestsToSQLite.db` in the `user home folder` and silently record every HTTP request send during the BURP session.

![Extension Log](example1.png)

![DB Content](example2.png)

There is an option to restrict the logging to the requests that are included into the defined target scope (BURP tab **Target** > **Scope**):
# Options

## Scope

![Scope Option Menu State 1](example3.png)
There is an option to restrict the logging to the requests that are included into the defined target scope (BURP tab **Target** > **Scope**):

![Scope Option Menu State 2](example4.png)
![Scope Option Menu](example3.png)

There is an option to exclude the logging of the requests that target images:
## Images

![Image Option Menu State 1](example5.png)
There is an option to exclude the logging of the requests that target images (check is not case sensitive):

![Image Option Menu State 2](example6.png)
![Image Option Menu](example4.png)

The list of supported file extensions is [here](resources/settings.properties).

Expand All @@ -58,7 +60,7 @@ $ gradlew clean fatJar

**1.0.2 (Current in progress)**

See the associated [milestone](https://github.com/righettod/activity-trail-log/milestone/1).
See the associated [milestone](https://github.com/righettod/log-requests-to-sqlite/milestone/1).

**1.0.1**

Expand Down
6 changes: 4 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ apply plugin: 'java'

group 'eu.righettod'
version '1.0.2'
def burpExtensionHomepage = 'https://github.com/righettod/log-requests-to-sqlite'
def burpExtensionJarName = 'LogRequestsToSQLite.jar'

repositories {
mavenCentral()
Expand Down Expand Up @@ -30,9 +32,9 @@ compileJava {

task fatJar(type: Jar) {
manifest {
attributes ("Implementation-Version" : project.version)
attributes("Implementation-Version": project.version, "Implementation-Title": project.name, "Implementation-URL": burpExtensionHomepage)
}
baseName = project.name
archiveName = burpExtensionJarName
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}
Binary file modified example1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed example5.png
Binary file not shown.
Binary file removed example6.png
Binary file not shown.
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1 @@
rootProject.name = 'activity-trail-log'
rootProject.name = 'log-requests-to-sqlite'
2 changes: 1 addition & 1 deletion src/burp/BurpExtender.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class BurpExtender implements IBurpExtender {
*/
public void registerExtenderCallbacks(IBurpExtenderCallbacks callbacks) {
try {
String extensionName = "ActivityTrailLog";
String extensionName = "LogRequestsToSQLite";
callbacks.setExtensionName(extensionName);
Trace trace = new Trace(callbacks);
ConfigMenu configMenu = new ConfigMenu(callbacks, trace);
Expand Down
2 changes: 1 addition & 1 deletion src/burp/ConfigMenu.java
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class ConfigMenu implements Runnable, IExtensionStateListener {
@Override
public void run() {
//Build the menu
this.cfgMenu = new JMenu("Audit Trail");
this.cfgMenu = new JMenu("Log Requests to SQLite");
//Add the sub menu to restrict the logging of requests in defined target scope
String menuText = "Log only requests from defined target scope";
final JCheckBoxMenuItem subMenuRestrictToScope = new JCheckBoxMenuItem(menuText, ONLY_INCLUDE_REQUESTS_FROM_SCOPE);
Expand Down

0 comments on commit 5647b16

Please sign in to comment.