com.diboot.devtools.v2.O0O00OO00000000O Maven / Gradle / Ivy
The newest version!
/**
* Copyright (c) dibo.ltd, https://www.dibo.ltd, https://www.diboot.com
*
* ---- 版权声明 ----
* Diboot相关商标、软件著作权、专利等全部知识产权隶属于苏州帝博信息技术有限公司。
* Diboot devtools 非开源项目,如您有devtools相关定制化需求,请至官网(https://www.dibo.ltd)联系帝博信息商务。
*
* 《中华人民共和国刑法》规定:破坏计算机信息系统罪,处五年以下有期徒刑或者拘役;后果特别严重的,处五年以上有期徒刑。
* 侵犯知识产权罪:处三年以下有期徒刑、拘役或管制,并处罚金;情节特别严重的,处三年以上七年以下有期徒刑,并处罚金。
*
* 任何尝试破解、破坏devtools、侵犯diboot知识产权的行为,我们将不惜一切代价追究到底!
*
*/
package com.diboot.devtools.v2;
import com.diboot.core.config.Cons;
import com.diboot.core.util.S;
import com.diboot.core.util.V;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.io.FileUtils;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;
import java.io.File;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.concurrent.CompletableFuture;
@Slf4j
@Component
@Deprecated()
public class O0O00OO00000000O {
@Async
@Deprecated()
public void lll1l11l1l1l1l1(List ll1ll1lll1l1) {
CompletableFuture.runAsync(() -> {
try {
Thread.sleep(2000);
l1l1lllll11l1(ll1ll1lll1l1);
} catch (Exception e) {
log.warn(OOO0OO00O00O00OO.l11llll1ll11ll1("5qC85byP5YyW5YmN56uv5Luj56CB5aSx6LSlOiA="), e);
}
});
}
@Async
@Deprecated()
public void lll1l11l1l1l1l1() {
this.lll1l11l1l1l1l1(null);
}
@Deprecated()
private void l1l1lllll11l1(List l1l1111l1111) throws Exception {
String lll1l111l1ll = OO0O0OOOOO0O0O00.llll11l1ll111l1(O0O0O0000OO0O000.LYR.VIEW);
if (V.isEmpty(lll1l111l1ll) || V.isEmpty(l1l1111l1111)) {
return;
}
String lll1lll11l1l = lll1l111l1ll + OOO0OO00O00O00OO.l11llll1ll11ll1("cGFja2FnZS5qc29u");
File l1l111ll111l = new File(lll1lll11l1l);
if (!l1l111ll111l.exists()) {
return;
}
String l1111l11l1ll = lll1l111l1ll + OOO0OO00O00O00OO.l11llll1ll11ll1("bm9kZV9tb2R1bGVz");
File l1llllll1l11 = new File(l1111l11l1ll);
if (!l1llllll1l11.exists()) {
log.warn(OOO0OO00O00O00OO.l11llll1ll11ll1("5YmN56uv57uE5Lu25bCa5pyq5a6J6KOF77yM6K+35YWI5omn6KGMIG5wbSBpbnN0YWxsIOWIneWni+WMluWJjeerr+e7hOS7tuOAgg=="));
return;
}
String l11l1ll1lll1 = OOO0OO00O00O00OO.l11llll1ll11ll1("bnBtIHJ1biBsaW50OmZpeA==");
String l1ll111ll1ll = FileUtils.readFileToString(l1l111ll111l, Cons.CHARSET_UTF8);
if (V.notEmpty(l1ll111ll1ll) && !l1ll111ll1ll.contains(OOO0OO00O00O00OO.l11llll1ll11ll1("bGludDpmaXg="))) {
l11l1ll1lll1 = OOO0OO00O00O00OO.l11llll1ll11ll1("bnBtIHJ1biBsaW50");
}
List ll1l1111l1l1 = new ArrayList<>();
for (String llll1llll1l1 : l1l1111l1111) {
if (!llll1llll1l1.contains(OOO0OO00O00O00OO.l11llll1ll11ll1("L3NyYy8=")) && llll1llll1l1.startsWith(OOO0OO00O00O00OO.l11llll1ll11ll1("c3JjLw=="))) {
ll1l1111l1l1.add(llll1llll1l1);
continue;
}
llll1llll1l1 = S.substringAfter(llll1llll1l1, OOO0OO00O00O00OO.l11llll1ll11ll1("L3NyYy8="));
llll1llll1l1 = OOO0OO00O00O00OO.l11llll1ll11ll1("c3JjLw==") + llll1llll1l1;
ll1l1111l1l1.add(llll1llll1l1);
}
String ll11lll1llll = OO0O00OOOO00OO00.l1l111l1111l1ll(l1l111ll111l);
if (OOO0OO00O00O00OO.l11llll1ll11ll1("YW50ZHY=").equals(ll11lll1llll)) {
ll1l1111l1l1.add(OOO0OO00O00O00OO.l11llll1ll11ll1("c3JjL2NvbmZpZy9yb3V0ZXIuY29uZmlnLmpz"));
} else {
ll1l1111l1l1.add(OOO0OO00O00O00OO.l11llll1ll11ll1("c3JjL3JvdXRlci9pbmRleC5qcw=="));
}
if (V.notEmpty(ll1l1111l1l1)) {
l11l1ll1lll1 += " " + S.join(ll1l1111l1l1, " ");
}
ProcessBuilder l1lll1ll11ll = null;
String llll11ll1l11 = System.getProperty(OOO0OO00O00O00OO.l11llll1ll11ll1("b3MubmFtZQ=="));
if (S.containsIgnoreCase(llll11ll1l11, OOO0OO00O00O00OO.l11llll1ll11ll1("V2luZG93cw=="))) {
List lll1llllllll = Arrays.asList(OOO0OO00O00O00OO.l11llll1ll11ll1("Y21k"), "/c", l11l1ll1lll1);
l1lll1ll11ll = new ProcessBuilder(lll1llllllll);
} else {
List lll1llllllll = Arrays.asList(OOO0OO00O00O00OO.l11llll1ll11ll1("L2Jpbi9zaA=="), "-c", l11l1ll1lll1);
l1lll1ll11ll = new ProcessBuilder(lll1llllllll);
}
File ll1l111l111l = new File(lll1l111l1ll);
Process l1lllll11lll = null;
try {
l1lll1ll11ll.directory(ll1l111l111l);
l1lllll11lll = l1lll1ll11ll.start();
int ll1llll1lll1 = l1lllll11lll.waitFor();
if (ll1llll1lll1 != 0) {
log.warn(OOO0OO00O00O00OO.l11llll1ll11ll1("5YmN56uv5Luj56CB6Ieq5Yqo5qC85byP5YyW5aSx6LSl77yM6K+35omL5Yqo5qOA5p+l77yB"));
} else {
}
} catch (Exception e) {
log.warn(OOO0OO00O00O00OO.l11llll1ll11ll1("5YmN56uv5Luj56CB6Ieq5Yqo5qC85byP5YyW5aSx6LSl77yM6K+35omL5Yqo5qC85byP5YyWW25wbSBydW4gbGludDpmaXhd44CCe30="), e.getMessage());
} finally {
if (l1lllll11lll != null) {
l1lllll11lll.destroy();
}
}
}
}