mirror of
https://github.com/tonikelope/megabasterd.git
synced 2025-05-01 23:24:32 +02:00
parent
601d9ee7dd
commit
9ce9124e19
2
pom.xml
2
pom.xml
@ -3,7 +3,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>com.tonikelope</groupId>
|
<groupId>com.tonikelope</groupId>
|
||||||
<artifactId>MegaBasterd</artifactId>
|
<artifactId>MegaBasterd</artifactId>
|
||||||
<version>7.74</version>
|
<version>7.75</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<repositories>
|
<repositories>
|
||||||
<repository>
|
<repository>
|
||||||
|
@ -67,7 +67,7 @@ import javax.swing.UIManager;
|
|||||||
*/
|
*/
|
||||||
public final class MainPanel {
|
public final class MainPanel {
|
||||||
|
|
||||||
public static final String VERSION = "7.74";
|
public static final String VERSION = "7.75";
|
||||||
public static final boolean FORCE_SMART_PROXY = false; //TRUE FOR DEBUGING SMART PROXY
|
public static final boolean FORCE_SMART_PROXY = false; //TRUE FOR DEBUGING SMART PROXY
|
||||||
public static final int THROTTLE_SLICE_SIZE = 16 * 1024;
|
public static final int THROTTLE_SLICE_SIZE = 16 * 1024;
|
||||||
public static final int DEFAULT_BYTE_BUFFER_SIZE = 16 * 1024;
|
public static final int DEFAULT_BYTE_BUFFER_SIZE = 16 * 1024;
|
||||||
|
@ -367,6 +367,8 @@ public class MegaAPI implements Serializable {
|
|||||||
|
|
||||||
private String _rawRequest(String request, URL url_api) throws MegaAPIException {
|
private String _rawRequest(String request, URL url_api) throws MegaAPIException {
|
||||||
|
|
||||||
|
System.out.println(request);
|
||||||
|
|
||||||
String response = null, current_smart_proxy = null;
|
String response = null, current_smart_proxy = null;
|
||||||
|
|
||||||
int mega_error = 0, http_error = 0, conta_error = 0, http_status;
|
int mega_error = 0, http_error = 0, conta_error = 0, http_status;
|
||||||
@ -1039,7 +1041,8 @@ public class MegaAPI implements Serializable {
|
|||||||
|
|
||||||
String ha = cryptoHandleauth(node);
|
String ha = cryptoHandleauth(node);
|
||||||
|
|
||||||
String request = "[{\"a\":\"s2\",\"n\":\"" + node + "\",\"s\":[{\"u\":\"EXP\",\"r\":0}],\"i\":\"" + _req_id + "\",\"ok\":\"" + ok + "\",\"ha\":\"" + ha + "\",\"cr\":[[\"" + node + "\"],[\"" + node + "\"],[0,0,\"" + enc_nk + "\"]]}]";
|
//OJO
|
||||||
|
String request = "[{\"a\":\"s2\",\"n\":\"" + node + "\",\"s\":[{\"u\":\"EXP\",\"r\":0}],\"i\":\"" + _req_id + "\",\"ok\":\"AAAAAAAAAAAAAAAAAAAAAA\",\"ha\":\"AAAAAAAAAAAAAAAAAAAAAA\",\"cr\":[[\"" + node + "\"],[\"" + node + "\"],[0,0,\"" + enc_nk + "\"]]}]";
|
||||||
|
|
||||||
URL url_api = new URL(API_URL + "/cs?id=" + String.valueOf(_seqno) + (_sid != null ? "&sid=" + _sid : "") + (API_KEY != null ? "&ak=" + API_KEY : ""));
|
URL url_api = new URL(API_URL + "/cs?id=" + String.valueOf(_seqno) + (_sid != null ? "&sid=" + _sid : "") + (API_KEY != null ? "&ak=" + API_KEY : ""));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user