Comments

Friday, March 22, 2013

Android Sqlmap Gui Alpha

Posted by at Friday, March 22, 2013 Read our previous post

Today I was a bit boring after a short time, I started sqlmap Gui coding for Android.

Its a very very very simple Gui No extra No Support just a Open Source Alpha Dirty coding skill Zwinkerndes Smiley.

What you need to run Sqlmap on Android is.

* Android with ROOT Permissions !!!

* https://play.google.com/store/apps/details?id=com.botbrew.basil

* https://play.google.com/store/apps/details?id=jackpal.androidterm

* https://play.google.com/store/apps/details?id=org.torproject.android “Only if you want to tunnel Traffic over Tor network” Disable Java Script on Default Browser or Tor is unless !!!

1.Install Botbrew Basil and Start it.

Install Botbrew default on your system not sd-ext cache oder other.

Install “command line Extra”

Install “apt-get”

Install “python”.

Close Botbrew Basil Now.

2.Install Android Terminal Emulator and start it and close it.

3.Install Android Sqlmap Gui Download from here http://www.mirrorupload.net/file/EDG6NCAH/#!Android+Sqlmap.rar 

or here http://directmirror.com/files/1EMQUSGX

4.Start Android Sqlmap Enter Some Target.

5.Have pfun and if you like what i do Donate !!!

 

 

 

* Screenshots Coming Soon …..

30 Mins Dirty Source Code :

MainActivity.java

package security.is.just.an.illusion.sqlmap;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Color;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

public class MainActivity extends Activity {

@Override
public void onCreate(Bundle icicle)
{
super.onCreate(icicle);
setContentView(R.layout.activity_main);
TextView text = (TextView) findViewById(R.id.textView1);
text.setTextColor(Color.parseColor("#FFFFFF"));
final Button button = (Button) findViewById(R.id.button1);
button.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
// Perform action on click
Intent i = new Intent(MainActivity.this, sqlmapmain.class);
startActivity(i);
}
});
final Button button2 = (Button) findViewById(R.id.button2);
button2.setOnClickListener(new View.OnClickListener() {
String script = "su\nsleep 3 && mkdir /sdcard/sqlmap/\ncd /sdcard/sqlmap/\n/data/botbrew-basil/init\napt-get install git && git clone http://github.com/sqlmapproject/sqlmap.git sqlmap\n";
public void onClick(View v) {
// Perform action on click
Intent intent =
new Intent("jackpal.androidterm.RUN_SCRIPT");
intent.addCategory(Intent.CATEGORY_DEFAULT);
String command = script.toString();
intent.putExtra("jackpal.androidterm.iInitialCommand", command);
startActivity(intent);
}
});

}
}


 



 



sqlmapmain.java



package security.is.just.an.illusion.sqlmap;

import android.app.Activity;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.CheckBox;
import android.widget.EditText;
import android.widget.TextView;
import android.widget.Toast;

public class sqlmapmain extends Activity {
private CheckBox chkurl, chkAndroid, chktor, chkform,chkbatch;
public void onCreate(Bundle icicle)
{
super.onCreate(icicle);
setContentView(R.layout.sqlmap);
addListenerOnChkIos();
TextView text = (TextView) findViewById(R.id.textView1);
text.setTextColor(Color.parseColor("#FFFFFF"));
TextView CheckBox = (TextView) findViewById(R.id.chkIos);
CheckBox.setTextColor(Color.parseColor("#32CD32"));
TextView CheckBox1 = (TextView) findViewById(R.id.chkform);
CheckBox1.setTextColor(Color.parseColor("#32CD32"));
TextView CheckBox2 = (TextView) findViewById(R.id.chkAndroid);
CheckBox2.setTextColor(Color.parseColor("#32CD32"));
TextView CheckBox3 = (TextView) findViewById(R.id.chkbatch);
CheckBox3.setTextColor(Color.parseColor("#32CD32"));
TextView CheckBox4 = (TextView) findViewById(R.id.chktors);
CheckBox4.setTextColor(Color.parseColor("#32CD32"));

final EditText target = (EditText) findViewById(R.id.editText1);
final String script = (getString(R.string.default_script));
//script.setText(getString(R.string.default_script));
addClickListener(R.id.runScript, new OnClickListener() {
public void onClick(View v) {
chkurl = (CheckBox) findViewById(R.id.chkIos);
chkAndroid = (CheckBox) findViewById(R.id.chkAndroid);
chkform = (CheckBox) findViewById(R.id.chkform);
chkbatch = (CheckBox) findViewById(R.id.chkbatch);
chktor = (CheckBox) findViewById(R.id.chktors);
final String url = (getString(R.string.url_script));
final String google = (getString(R.string.google_script));
final String chkforms = (getString(R.string.chkform_script));
final String chkbatchs = (getString(R.string.chkbatch_script));
final String chktorss = (getString(R.string.chktor_script));

StringBuffer result = new StringBuffer();
result.append("IPhone check : ").append(chkurl.isChecked());
Toast.makeText(sqlmapmain.this, result.toString(),Toast.LENGTH_LONG).show();
if (chkurl.isChecked() && (chkform.isChecked()&& (chktor.isChecked()&& (chkbatch.isChecked())))) {

Intent intent =
new Intent("jackpal.androidterm.RUN_SCRIPT");
intent.addCategory(Intent.CATEGORY_DEFAULT);
String command = script+" "+url+" "+" "+target.getText().toString()+" "+chkforms+" "+chkbatchs+" "+chktorss;
intent.putExtra("jackpal.androidterm.iInitialCommand", command);
startActivity(intent);

} else {
if (chkurl.isChecked() && (chkform.isChecked()&& (chkbatch.isChecked()))) {

Intent intent =
new Intent("jackpal.androidterm.RUN_SCRIPT");
intent.addCategory(Intent.CATEGORY_DEFAULT);
String command = script+" "+url+" "+" "+target.getText().toString()+" "+chkforms+" "+chkbatchs;
intent.putExtra("jackpal.androidterm.iInitialCommand", command);
startActivity(intent);

} else {
if (chkurl.isChecked() && (chkbatch.isChecked()&& (chktor.isChecked()))) {

Intent intent =
new Intent("jackpal.androidterm.RUN_SCRIPT");
intent.addCategory(Intent.CATEGORY_DEFAULT);
String command = script+" "+url+" "+" "+target.getText().toString()+" "+chkforms+" "+chkbatchs+" "+chktorss;
intent.putExtra("jackpal.androidterm.iInitialCommand", command);
startActivity(intent);

} else {
if (chkurl.isChecked() && (chkbatch.isChecked())) {

Intent intent =
new Intent("jackpal.androidterm.RUN_SCRIPT");
intent.addCategory(Intent.CATEGORY_DEFAULT);
String command = script+" "+url+" "+" "+target.getText().toString()+" "+chkbatchs;
intent.putExtra("jackpal.androidterm.iInitialCommand", command);
startActivity(intent);

} else {
if (chkurl.isChecked()&& (chkform.isChecked()&& (chktor.isChecked()))) {

Intent intent =
new Intent("jackpal.androidterm.RUN_SCRIPT");
intent.addCategory(Intent.CATEGORY_DEFAULT);
String command = script+" "+url+" "+" "+target.getText().toString()+" "+chkforms+" "+chktorss;
intent.putExtra("jackpal.androidterm.iInitialCommand", command);
startActivity(intent);

} else {
if (chkurl.isChecked()&& (chkform.isChecked())) {

Intent intent =
new Intent("jackpal.androidterm.RUN_SCRIPT");
intent.addCategory(Intent.CATEGORY_DEFAULT);
String command = script+" "+url+" "+" "+target.getText().toString()+" "+chkforms;
intent.putExtra("jackpal.androidterm.iInitialCommand", command);
startActivity(intent);

} else {
if (chkAndroid.isChecked()&& (chkbatch.isChecked()&& (chktor.isChecked()))) {

Intent intent =
new Intent("jackpal.androidterm.RUN_SCRIPT");
intent.addCategory(Intent.CATEGORY_DEFAULT);
String command = script+" "+google+" "+" "+target.getText().toString()+" "+chkbatchs+" "+chktorss;
intent.putExtra("jackpal.androidterm.iInitialCommand", command);
startActivity(intent);

} else {
if (chkAndroid.isChecked()&& (chkbatch.isChecked())) {

Intent intent =
new Intent("jackpal.androidterm.RUN_SCRIPT");
intent.addCategory(Intent.CATEGORY_DEFAULT);
String command = script+" "+google+" "+" "+target.getText().toString()+" "+chkbatchs;
intent.putExtra("jackpal.androidterm.iInitialCommand", command);
startActivity(intent);

} else {
if (chkurl.isChecked()&& (chktor.isChecked())) {

Intent intent =
new Intent("jackpal.androidterm.RUN_SCRIPT");
intent.addCategory(Intent.CATEGORY_DEFAULT);
String command = script+" "+url+" "+target.getText().toString()+" "+chktorss;
intent.putExtra("jackpal.androidterm.iInitialCommand", command);
startActivity(intent);

} else {
if (chkurl.isChecked()) {

Intent intent =
new Intent("jackpal.androidterm.RUN_SCRIPT");
intent.addCategory(Intent.CATEGORY_DEFAULT);
String command = script+" "+url+" "+target.getText().toString();
intent.putExtra("jackpal.androidterm.iInitialCommand", command);
startActivity(intent);

} else {
if (chkAndroid.isChecked()) {

Intent intent =
new Intent("jackpal.androidterm.RUN_SCRIPT");
intent.addCategory(Intent.CATEGORY_DEFAULT);
String command = script+" "+google+" "+target.getText().toString();
intent.putExtra("jackpal.androidterm.iInitialCommand", command);
startActivity(intent);

} else {

Intent intent =
new Intent("jackpal.androidterm.RUN_SCRIPT");
intent.addCategory(Intent.CATEGORY_DEFAULT);
String command = script+" "+target.getText().toString();
intent.putExtra("jackpal.androidterm.iInitialCommand", command);
startActivity(intent);

}
}}}}}}}}}}}});

}

private void addListenerOnChkIos() {
chkurl = (CheckBox) findViewById(R.id.chkIos);
chkurl.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
}

});
}

private void addClickListener(int buttonId, OnClickListener onClickListener) {
((Button) findViewById(buttonId)).setOnClickListener(onClickListener);
}
}

3 comments:

  1. You could be eligible for a free Apple iPhone 7.

    ReplyDelete
  2. Botbrew failed to download error

    ReplyDelete
  3. Do you need free Facebook Followers?
    Did you know that you can get these AUTOMATICALLY & ABSOLUTELY FREE by registering on Add Me Fast?

    ReplyDelete

[#] iNFO [#]

All the information provided on this site is for educational purposes only.
 
The site and it's author is in no way responsible for any misuse of the information.
©2012 Security is just an Illusion is powered by Blogger - Template designed by Stramaxon - Best SEO Template