Exploit databaseDownload repository ZIP
GH-14fb583d3d1bd2da10251bb1a37b93d6
gitchw/ghostlock-cve-2026-43499
Sources for CVE-2026-43499
166 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files31
gitchw/ghostlock-cve-2026-43499Revision 96acd93156f6
- ↑..Parent directory
- AsyncTimeout.java
- Base64.java
- Buffer.java
- BufferedSink.java
- BufferedSource.java
- ByteString.java
- DeflaterSink.java
- ForwardingSink.java
- ForwardingSource.java
- ForwardingTimeout.java
- GzipSink.java
- GzipSource.java
- HashingSink.java
- HashingSource.java
- InflaterSource.java
- Okio.java
- Options.java
- PeekSource.java
- Pipe.java
- PushableTimeout.java
- RealBufferedSink.java
- RealBufferedSource.java
- Segment.java
- SegmentPool.java
- SegmentedByteString.java
- Sink.java
- Source.java
- Timeout.java
- Utf8.java
- Util.java
- package-info.java
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
workspace/decomp/HeyRomUpdate/sources/okio/Utf8.java
Java · 1,573 bytespackage okio;
/* loaded from: classes.dex */
public final class Utf8 {
private Utf8() {
}
public static long size(String string) {
return size(string, 0, string.length());
}
public static long size(String string, int beginIndex, int endIndex) {
if (string == null) {
throw new IllegalArgumentException("string == null");
}
if (beginIndex < 0) {
throw new IllegalArgumentException("beginIndex < 0: " + beginIndex);
}
if (endIndex < beginIndex) {
throw new IllegalArgumentException("endIndex < beginIndex: " + endIndex + " < " + beginIndex);
}
if (endIndex > string.length()) {
throw new IllegalArgumentException("endIndex > string.length: " + endIndex + " > " + string.length());
}
long result = 0;
int i = beginIndex;
while (i < endIndex) {
int c = string.charAt(i);
if (c < 128) {
result++;
i++;
} else if (c < 2048) {
result += 2;
i++;
} else if (c < 55296 || c > 57343) {
result += 3;
i++;
} else {
int low = i + 1 < endIndex ? string.charAt(i + 1) : 0;
if (c > 56319 || low < 56320 || low > 57343) {
result++;
i++;
} else {
result += 4;
i += 2;
}
}
}
return result;
}
}