Skip to content

Commit

Permalink
Media files update.
Browse files Browse the repository at this point in the history
  • Loading branch information
Doge committed Feb 12, 2024
1 parent 4e62397 commit a2fc0c8
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 1 deletion.
Binary file modified gitimg/attack_dialog.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 gitimg/brute_force_attack.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 gitimg/editor_flask.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 gitimg/key_dialog.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 gitimg/settings_view.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 gitimg/unknown_tab.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 gitimg/wordlist_view.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ public class TokenSigner implements Cloneable {
public Derivation keyDerivation = Derivation.HMAC;
public MessageDerivation messageDerivation = MessageDerivation.NONE;
public MessageDigestAlgorithm messageDigestAlgorithm = MessageDigestAlgorithm.SHA1;
public Set<Derivation> knownDerivations = EnumSet.allOf(Derivation.class);
public Set<Derivation> knownDerivations = EnumSet.of(Derivation.HASH,
Derivation.DJANGO, Derivation.CONCAT, Derivation.HMAC, Derivation.NONE);
public byte[] secret_key;
public byte[] salt = "itsdangerous.Signer".getBytes();
public byte[] sep;
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/one/d4d/sessionless/utils/Utils.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package one.d4d.sessionless.utils;

import burp.api.montoya.http.message.MimeType;
import com.google.common.primitives.Ints;
import com.google.gson.Gson;
import com.google.gson.JsonParser;
Expand All @@ -26,6 +27,7 @@
import java.util.zip.Inflater;

public class Utils {
public static final Set<MimeType> SUPPORTED_MIMETYPES = Set.of(MimeType.HTML, MimeType.PLAIN_TEXT, MimeType.JSON, MimeType.XML, MimeType.YAML);
public static final int BRUTE_FORCE_CHUNK_SIZE = 4096;
public static final int WORDLIST_ONE_CHAR = 256;
public static final int WORDLIST_TWO_CHAR = 65536;
Expand Down

0 comments on commit a2fc0c8

Please sign in to comment.