Suninatas Game 25

challenges

Game 25

1
2
3
4
5
6
7
8
9
10
11
12
13
❯ file Suninatas25
Suninatas25: Zip archive data, made by v2.0, extract using at least v2.0, last modified, last modified Sun, Aug 05 2019 10:34:20, uncompressed size 328936, method=deflate

❯ unar Suninatas25
Suninatas25: Zip
"Suninatas25" already exists.
(r)ename to "Suninatas25-1", (R)ename all, (o)verwrite, (O)verwrite all, (s)kip, (S)kip all, (q)uit? r
class.dex (328936 B)... OK.
Androidmanifest.xml (1732 B)... OK.
resource.arsc (2600 B)... OK.
Successfully extracted to "Suninatas25-1".

# like a apk, mv to suninatas25.apk, open with jadx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46

/* loaded from: class.dex */
public class Suninatas25 extends Activity {
public void onCreate(Bundle savedInstanceState) {
////
try {
String conId = Suninatas25.this.getContacts("id");
String conNum = Suninatas25.this.getTel(conId);
if (conName != null) {
Uri uri = Uri.parse("http://www.suninatas.com/challenge/web25/chk_key.asp?id=" + id.toString() + "&pw=" + pw.toString() + "&Name=" + conName.toString() + "&Number=" + conNum.toString()); <- same id pw like game 24, but add contact name and phone number
Intent it = new Intent("android.intent.action.VIEW", uri);
Suninatas25.this.startActivity(it);
}
///////
}
});
}

public String getTel(String Idno) {
StringBuffer tnum = new StringBuffer();
Cursor phones = getContentResolver().query(ContactsContract.CommonDataKinds.Phone.CONTENT_URI, null, "contact_id=" + Idno, null, null);
while (phones.moveToNext()) {
String phoneNumber = phones.getString(phones.getColumnIndex("data1"));
tnum.append(phoneNumber);
}
return tnum.toString();
}

public String getContacts(String Sel) {
StringBuffer sb = new StringBuffer();
Cursor contacts = getContentResolver().query(ContactsContract.Contacts.CONTENT_URI, null, null, null, null);
while (contacts.moveToNext()) {
String displayName = contacts.getString(contacts.getColumnIndex("display_name"));
String contactId = contacts.getString(contacts.getColumnIndex("_id"));
if (displayName.equals("SuNiNaTaS")) { <-- Name need be SuNiNaTaS
if (Sel.equals("sb")) {
sb.append(displayName);
} else if (Sel.equals("id")) {
sb.append(contactId);
}
}
}
return sb.toString();
}
/////
}
1
2
3
4
5
http://www.suninatas.com/challenge/web25/chk_key.asp?id=arstarst&pw=arstarst&Name=SuNiNaTaS&Number=?? <- click make botton to get the number, use test account btw

Congratulations!
auth_key is
************************
FanTast1c aNdr0id w0r1d!