com.diboot.devtools.v2.OO0OO0000OO000O0 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.BaseConfig;
import com.diboot.core.util.PropertiesUtils;
import com.diboot.core.util.S;
import com.diboot.core.util.V;
import org.mitre.dsmiley.httpproxy.ProxyServlet;
import org.springframework.boot.web.servlet.ServletRegistrationBean;
import org.springframework.context.EnvironmentAware;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.env.Environment;
@Configuration
@Deprecated()
public class OO0OO0000OO000O0 implements EnvironmentAware {
@Override
@Deprecated()
public void setEnvironment(Environment lll11l1l1111) {
PropertiesUtils.bindEnvironment(lll11l1l1111);
}
@Bean
@Deprecated()
public ServletRegistrationBean ll11lllll1111ll() {
ServletRegistrationBean l11l11111lll = new ServletRegistrationBean(new ProxyServlet(), OOO0OO00O00O00OO.l11llll1ll11ll1("L2RpYm9vdC9kZXZ0b29scy9wdWJsaWMtYXBpLyo="));
l11l11111lll.setName(OOO0OO00O00O00OO.l11llll1ll11ll1("ZGVmYXVsdFByb3h5"));
String l11l11ll111l = OO0OO0000OO000O0.ll11ll1ll1l11l1();
l11l11111lll.addInitParameter(OOO0OO00O00O00OO.l11llll1ll11ll1("dGFyZ2V0VXJp"), l11l11ll111l + OOO0OO00O00O00OO.l11llll1ll11ll1("L3B1YmxpYy1hcGk="));
l11l11111lll.addInitParameter(ProxyServlet.P_LOG, OOO0OO00O00O00OO.l11llll1ll11ll1("ZmFsc2U="));
return l11l11111lll;
}
private static String lll11lll11lll = null;
private static String ll11ll1111111 = null;
@Deprecated()
public static String ll11ll1ll1l11l1() {
if (lll11lll11lll == null) {
lll11lll11lll = BaseConfig.getProperty(S.join(new String[] { OOO0OO00O00O00OO.l11llll1ll11ll1("ZGlib290"), OOO0OO00O00O00OO.l11llll1ll11ll1("ZGV2dG9vbHM="), OOO0OO00O00O00OO.l11llll1ll11ll1("bGljZW5zZQ==") }, "."));
}
if (V.isEmpty(lll11lll11lll)) {
return O0O0O0000OO0O000.lllll1lllllll1;
}
if (ll11ll1111111 == null) {
ll11ll1111111 = BaseConfig.getProperty(S.join(new String[] { OOO0OO00O00O00OO.l11llll1ll11ll1("ZGlib290"), OOO0OO00O00O00OO.l11llll1ll11ll1("ZGV2dG9vbHM="), OOO0OO00O00O00OO.l11llll1ll11ll1("c2VydmVy") }, "."));
}
if (V.notEmpty(ll11ll1111111)) {
return ll11ll1111111;
}
return S.replace(O0O0O0000OO0O000.lllll1lllllll1, OOO0OO00O00O00OO.l11llll1ll11ll1("ZGV2dG9vbHMtdjI="), OOO0OO00O00O00OO.l11llll1ll11ll1("ZGV2dG9vbHMtdmlw"));
}
@Deprecated()
public static String llll1l11l11l11l() {
if (lll11lll11lll == null) {
lll11lll11lll = BaseConfig.getProperty(S.join(new String[] { OOO0OO00O00O00OO.l11llll1ll11ll1("ZGlib290"), OOO0OO00O00O00OO.l11llll1ll11ll1("ZGV2dG9vbHM="), OOO0OO00O00O00OO.l11llll1ll11ll1("bGljZW5zZQ==") }, "."));
}
if (V.isEmpty(lll11lll11lll)) {
return O0O0O0000OO0O000.l111l111lll1ll;
}
if (ll11ll1111111 == null) {
ll11ll1111111 = BaseConfig.getProperty(S.join(new String[] { OOO0OO00O00O00OO.l11llll1ll11ll1("ZGlib290"), OOO0OO00O00O00OO.l11llll1ll11ll1("ZGV2dG9vbHM="), OOO0OO00O00O00OO.l11llll1ll11ll1("c2VydmVy") }, "."));
}
if (V.notEmpty(ll11ll1111111)) {
String ll111ll111l1 = OOO0OO00O00O00OO.l11llll1ll11ll1("aHR0cDovLw==");
if (ll11ll1111111.contains(OOO0OO00O00O00OO.l11llll1ll11ll1("aHR0cHM6Ly8="))) {
ll111ll111l1 = OOO0OO00O00O00OO.l11llll1ll11ll1("aHR0cHM6Ly8=");
}
String l11ll1l1llll = S.replace(ll11ll1111111, OOO0OO00O00O00OO.l11llll1ll11ll1("aHR0cDovLw=="), "");
l11ll1l1llll = S.replace(l11ll1l1llll, OOO0OO00O00O00OO.l11llll1ll11ll1("aHR0cHM6Ly8="), "");
String[] l111l1lll1ll = S.split(l11ll1l1llll, "/");
if (l111l1lll1ll.length > 0) {
l11ll1l1llll = l111l1lll1ll[0];
}
return S.replace(O0O0O0000OO0O000.l111l111lll1ll, OOO0OO00O00O00OO.l11llll1ll11ll1("aHR0cHM6Ly9kZXZ0b29scy12Mi5kaWJvb3QuY29t"), ll111ll111l1 + l11ll1l1llll);
}
return S.replace(O0O0O0000OO0O000.l111l111lll1ll, OOO0OO00O00O00OO.l11llll1ll11ll1("ZGV2dG9vbHMtdjI="), OOO0OO00O00O00OO.l11llll1ll11ll1("ZGV2dG9vbHMtdmlw"));
}
}