Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

retain fields when import from JSON #206

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

blackphreak
Copy link
Contributor

updates:

  1. export JSON with new date format (yyyy-MM-dd HH:mm:ss) (original: MMM d, y, K:m:s a)
  2. import JSON with original entry fields:
    1. tool name
    2. comment
    3. request date time
    4. response date time
    5. RTT (request response delay)
    6. listen interface
  3. and finally, fixed a typo

version number updated from 3.20.1 to 3.21.1

the following fields are kept:
+ request time
+ response time
+ tool name
+ comment
+ new formatted date (Gson provider)
+ listenInterface
+ RTT
+ comment (added marker for imported entries)
@Sysc4ll3r
Copy link

Hello ! I think you forget add class DateFormattedGsonProvider in util dir
image
check

sysc4ll3r@sysc4ll3r:~/burpsuite-stuff/awesome-external-extensions/LoggerPlusPlus$ ./gradlew jar
Starting a Gradle Daemon (subsequent builds will be faster)

> Task :generateEffectiveLombokConfig
Execution optimizations have been disabled for task ':generateEffectiveLombokConfig' to ensure correctness due to the following reasons:
  - Gradle detected a problem with the following location: '/home/sysc4ll3r/burpsuite-stuff/awesome-external-extensions/LoggerPlusPlus/build/generated/javacc'. Reason: Task ':generateEffectiveLombokConfig' uses this output of task ':compileJavacc' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
  - Gradle detected a problem with the following location: '/home/sysc4ll3r/burpsuite-stuff/awesome-external-extensions/LoggerPlusPlus/build/generated/jjtree'. Reason: Task ':generateEffectiveLombokConfig' uses this output of task ':compileJjtree' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.

> Task :compileJava FAILED
/home/sysc4ll3r/burpsuite-stuff/awesome-external-extensions/LoggerPlusPlus/src/main/java/com/nccgroup/loggerplusplus/LoggerPlusPlus.java:17: error: cannot find symbol
import com.nccgroup.loggerplusplus.util.DateFormattedGsonProvider;
                                       ^
  symbol:   class DateFormattedGsonProvider
  location: package com.nccgroup.loggerplusplus.util
1 error

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings

Execution optimizations have been disabled for 1 invalid unit(s) of work during this build to ensure correctness.
Please consult deprecation warnings for more details.

BUILD FAILED in 19s
5 actionable tasks: 2 executed, 3 up-to-date

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants