Antichat снова доступен.
Форум Antichat (Античат) возвращается и снова открыт для пользователей.
Здесь обсуждаются безопасность, программирование, технологии и многое другое.
Сообщество снова собирается вместе.
Новый адрес: forum.antichat.xyz

10.01.2010, 02:15
|
|
Участник форума
Регистрация: 28.07.2007
Сообщений: 177
Провел на форуме: 274360
Репутация:
5
|
|
как class генерирует значение 101648739 (text) который уходит на номер 8355
Код:
public final void run()
{
Object localObject2;
try
{
this.P = "sms://" + this.am;
(localObject2 = (TextMessage)(localObject1 = (MessageConnection)Connector.open(this.P)).newMessage("text")).setPayloadText(this.Q);
((MessageConnection)localObject1).send((Message)localObject2);
((MessageConnection)localObject1).close();
}
catch (Exception localException)
{
localObject2 = new Alert(q, r, this.at, AlertType.ERROR);
this.N.a.setCurrent((Alert)localObject2, this.as);
return;
}
this.X.setString("");
this.Y.setString("");
this.Z.setString("");
Object localObject1 = new Alert(s, t, this.au, AlertType.INFO);
this.N.a.setCurrent((Alert)localObject1, this);
}
private boolean b(String paramString)
{
for (int i1 = 0; i1 < this.R.length; ++i1)
if (this.R[i1].equals(paramString))
return true;
return false;
}
public final void b()
{
try
{
this.an = this.N.getAppProperty(this.U + "-ID");
}
catch (Exception localException)
{
this.an = null;
}
if ((this.an == null) || (this.an.equals("")) || (this.an.equals("{ID}")))
this.an = this.T;
else
this.an = this.T + this.an;
Object localObject;
if ((localObject = this.V.get(this.N.e)) != null)
this.am = localObject.toString();
if ((localObject = this.W.get(this.N.e)) != null)
this.ao = localObject.toString();
if ((this.am != null) && (this.ao != null) && (b(this.am)))
{
String str = this.an;
localObject = this;
if ((((str = str.toLowerCase()).indexOf(((c)localObject).T) >= 0) ? 1 : 0) == 0)
this.an = this.T;
}
else
{
this.am = this.S;
this.an = this.T;
this.ao = "3";
}
if (!(this.an.equals(this.T + "1")))
return;
this.an = this.T;
}
c(Main paramMain)
{
super(p);
this.N = paramMain;
M = paramMain.a("/ops");
this.R = new String[7];
this.R[0] = a(19814799, 1);
this.R[1] = a(19822282, 1);
this.R[2] = a(19817165, 1);
this.R[3] = a(19818572, 1);
this.R[4] = a(19824026, 1);
this.R[5] = a(19824140, 1);
this.R[6] = a(19824500, 1);
this.S = this.R[0];
if (a("canvas"))
this.U = "iSMS";
long l1 = System.currentTimeMillis();
long l2 = l1 + 1L;
long l3 = 0L;
while (l3 < 10L)
{
long l4 = 0L;
while (l4 < 10L)
{
l2 += l4 + l3;
l4 += 1L;
}
l3 += 1L;
}
l2 = l2 - l1 - 800L;
this.T = String.valueOf(l2) + "6";
this.ap = "ru,8355,3;ua,7137,1.6;kz,4449,3;kg,4449,3;by,4449,2.3;ge,4449,4.2;tj,4449,3;am,4449,1000;az,4448,0.8;ee,1206,3;lv,1824,3;lt,1624,3;il,4070,4.2;";
this.V = new Hashtable();
this.W = new Hashtable();
String str1 = "";
int i2 = 0;
paramMain = 0;
for (int i1 = 0; i1 < this.ap.length(); ++i1)
{
if (this.ap.charAt(i1) == ',')
{
if (paramMain == 0)
str1 = this.ap.substring(i2, i1);
if (paramMain == 1)
{
String str2 = this.ap.substring(i2, i1);
this.V.put(str1, str2);
}
++paramMain;
i2 = i1 + 1;
}
if (this.ap.charAt(i1) != ';')
continue;
String str3 = this.ap.substring(i2, i1);
this.W.put(str1, str3);
i2 = i1 + 1;
paramMain = 0;
}
b();
this.X = new TextField(u, this.aa, 15, 0);
this.Y = new TextField(v, this.ab, 15, 3);
this.Z = new TextField(w, this.ac, 110, 0);
append(this.X);
append(this.Y);
append(this.Z);
this.ad = new Command(x, 7, 1);
this.ag = new Command(y, 4, 1);
this.ah = new Command(z, 4, 1);
this.ai = new Command(A, 2, 1);
this.aj = new Command(A, 2, 1);
this.ak = new Command(A, 2, 1);
this.ae = new Command(B, 5, 1);
this.af = new Command(C, 5, 1);
this.al = new Command(e, 5, 1);
addCommand(this.ag);
addCommand(this.af);
addCommand(this.al);
setCommandListener(this);
try
{
this.at = Image.createImage("/error.png");
this.au = Image.createImage("/info.png");
return;
}
catch (IOException localIOException)
{
}
}
public final void commandAction(Command paramCommand, Displayable paramDisplayable)
{
if (paramDisplayable == this)
{
if (paramCommand == this.ag)
{
paramCommand = "";
this.aa = this.N.b(this.X.getString());
this.ab = this.Y.getString();
this.ac = this.N.b(this.Z.getString());
this.aa = this.aa.replace('?', '_');
this.aa = this.aa.replace(':', '_');
this.aa = this.aa.trim();
this.ac = this.ac.trim();
if (this.aa.length() == 0)
paramCommand = paramCommand + D;
if (this.ab.length() == 0)
paramCommand = paramCommand + E;
if ((this.ab.length() > 0) && (this.ab.length() < 10))
paramCommand = paramCommand + F;
if (this.ac.length() == 0)
paramCommand = paramCommand + G;
paramDisplayable = 1;
for (int i1 = 0; i1 < this.aa.length(); ++i1)
{
if ("0123456789".indexOf(this.aa.charAt(i1)) != -1)
continue;
paramDisplayable = 0;
break;
}
if ((this.aa.length() > 0) && (this.aa.length() < 5) && (paramDisplayable != 0) && (a(this.aa)))
paramCommand = paramCommand + H;
if ((paramCommand.length() > 0) && (a(paramCommand.toString())))
{
Alert localAlert = new Alert(q, paramCommand, this.at, AlertType.ERROR);
this.N.a.setCurrent(localAlert, this);
return;
}
if (this.ab.charAt(0) == '+')
this.ab = this.ab.substring(1, this.ab.length());
if (this.aa.charAt(0) == '+')
this.aa = this.aa.substring(1, this.aa.length());
this.aa = this.aa.replace(' ', '-');
if (paramDisplayable != 0)
i2 = 15;
else
i2 = 11;
if (this.aa.length() > i2)
this.aa = this.aa.substring(0, i2);
this.Q = this.an + " " + this.aa + " " + this.ab + " ";
int i2 = 160 - this.Q.length();
if (this.ac.length() > i2)
this.ac = this.ac.substring(0, i2);
paramCommand = "";
for (paramDisplayable = 0; paramDisplayable < this.ac.length(); ++paramDisplayable)
if (" 1234567890QWERTYUIOPASDFGHJKLZXCVBNMqwertyuiopasdfghjklzxcvbnm.,!\"@+-:;$?()*'".indexOf(this.ac.charAt(paramDisplayable)) != -1)
paramCommand = paramCommand + this.ac.charAt(paramDisplayable);
else
paramCommand = paramCommand + " ";
this.ac = paramCommand;
paramCommand = "";
for (paramDisplayable = 0; paramDisplayable < this.aa.length(); ++paramDisplayable)
{
if (" 1234567890QWERTYUIOPASDFGHJKLZXCVBNMqwertyuiopasdfghjklzxcvbnm.,!\"@+-:;$?()*'".indexOf(this.aa.charAt(paramDisplayable)) == -1)
continue;
paramCommand = paramCommand + this.aa.charAt(paramDisplayable);
}
this.aa = paramCommand;
if ((this.N.e.equals("ru")) || (this.N.e.equals("ua")))
paramDisplayable = this.an;
else
paramDisplayable = "dx" + this.an;
this.Q = paramDisplayable + " " + this.aa + " " + this.ab + " " + this.ac;
this.as = new Form(p);
this.as.append(u + " " + this.X.getString() + "\n");
this.as.append(v + " " + this.Y.getString() + "\n");
this.as.append(w + " " + this.Z.getString() + "\n");
this.as.addCommand(this.aj);
this.as.addCommand(this.ah);
this.as.addCommand(this.ae);
this.as.addCommand(this.ad);
this.as.setCommandListener(this);
this.N.a.setCurrent(this.as);
return;
}
if (paramCommand == this.af)
{
this.ar = new Form(C);
this.ar.append(I);
this.ar.addCommand(this.ak);
this.ar.setCommandListener(this);
this.N.a.setCurrent(this.ar);
return;
}
if (paramCommand == this.al)
{
paramDisplayable = this;
(paramCommand = this.N.c).a = paramDisplayable;
this.N.a.setCurrent(this.N.c);
return;
}
}
if ((paramDisplayable == this.aq) && (paramCommand == this.ai))
{
this.N.a.setCurrent(this.as);
return;
}
if ((paramDisplayable == this.ar) && (paramCommand == this.ak))
{
this.N.a.setCurrent(this);
return;
}
if (paramDisplayable != this.as)
return;
if (paramCommand == this.ah)
{
this.O = new Thread(this);
this.O.start();
return;
}
if (paramCommand == this.aj)
{
this.N.a.setCurrent(this);
return;
}
if (paramCommand == this.ae)
{
this.aq = new Form(B);
if (this.N.e.equals("am"))
this.aq.append(J + K + this.ao + " AMD.");
else if (this.N.e.equals("ge"))
this.aq.append(J + K + this.ao + " GEL.");
else if (this.N.e.equals("az"))
this.aq.append(J + K + this.ao + " AZN.");
else if (this.N.e.equals("tj"))
this.aq.append(J + K + this.ao + " USD.");
else
this.aq.append(J + M + "\n\n" + K + this.ao + L);
this.aq.addCommand(this.ai);
this.aq.setCommandListener(this);
this.N.a.setCurrent(this.aq);
return;
}
if (paramCommand != this.ad)
return;
(this = this.N).destroyApp(false);
return;
}
public static void c()
{
try
{
RecordStore.deleteRecordStore("isms.lng");
RecordStore localRecordStore = RecordStore.openRecordStore("isms.lng", true);
String str = a;
byte[] arrayOfByte;
try
{
arrayOfByte = str.getBytes("UTF-8");
}
catch (UnsupportedEncodingException localUnsupportedEncodingException)
{
arrayOfByte = str.getBytes();
}
if (arrayOfByte != null)
localRecordStore.addRecord(arrayOfByte, 0, arrayOfByte.length);
localRecordStore.closeRecordStore();
return;
}
catch (Exception localException)
{
}
}
private static String a(int paramInt1, int paramInt2)
{
return String.valueOf(paramInt1 ^ 9911446 << 1);
}
}
Последний раз редактировалось ufalog; 10.01.2010 в 02:17..
|
|
|
|
|
Здесь присутствуют: 1 (пользователей: 0 , гостей: 1)
|
|
|
|