Hack Forums
Android rat termux help - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45)
+--- Forum: Blackhat • Red Team • Offensive Security (https://hackforums.net/forumdisplay.php?fid=447)
+---- Forum: Remote Administration Tools (https://hackforums.net/forumdisplay.php?fid=114)
+---- Thread: Android rat termux help (/showthread.php?tid=6209217)



Android rat termux help - Usereerer4 - Jun 13, 2022

Can someone please explain what this means exactly it was saved in the clipboard on my husband keyboard he also installed termux app I have asked if his phone is rooted his reply was no. I don't know what is going on but I know something.  Please please 🙏 please help!!!!

*1
pkg install root-repo

*2

public class LauncherActivity extends Activity {
    / Called when the activity is first created. */

Intent Client, ClientAlt;
Button btnStart, btnStop;
EditText ipfield, portfield;
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main

*3
public class LauncherActivity extends Activity {
    /
Called when the activity is first created. */

Intent Client, ClientAlt;
Button btnStart, btnStop;
EditText ipfield, portfield;
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

        Client = new Intent(this, Client.class);
        Client.setAction(LauncherActivity.class.getName());
       
        btnStart = (Button) findViewById(R.id.buttonstart);
        btnStop = (Button) findViewById(R.id.buttonstop);
        ipfield = (EditText) findViewById(R.id.ipfield);
        portfield = (EditText) findViewById(R.id.portfield);
       
        btnStart.setOnClickListener(new View.OnClickListener() {
            public void onClick(View view) {
            Client.putExtra("IP", ipfield.getText().toString());
            Client.putExtra("PORT", new Integer(portfield.getText().toString()));
                startService(Client);
                btnStart.setEnabled(false);
                btnStop.setEnabled(true);
                //finish();               
            }
        });

        btnStop.setOnClickListener(new View.OnClickListener() {
            public void onClick(View view) {           
                stopService(Client); 
                btnStart.setEnabled(true);
                btnStop.setEnabled(false);
                //finish();
            }
        });
    }
}

*4

Client = new Intent(this, Client.class);
        Client.setAction(LauncherActivity.class.getName());
       
        btnStart = (Button) findViewById(R.id.buttonstart);
        btnStop = (Button) findViewById(R.id.buttonstop);
        ipfield = (EditText) findViewById(R.id.ipfield);
        portfield = (EditText) findViewById(R.id.portfield);
       
        btnStart.setOnClickListener(new View.OnClickListener() {
            public void onClick(View view) {
            Client.putExtra("IP", ipfield.getText().toString());
            Client.putExtra("PORT", new Integer(portfield.getText().toString()));
                startService(Client);
                btnStart.setEnabled(false);
                btnStop.setEnabled(true);
                //finish();               
            }
        });

        btnStop.setOnClickListener(new View.OnClickListener() {
            public void onClick(View view) {           
                stopService(Client); 
                btnStart.setEnabled(true);
                btnStop.setEnabled(false);
                //finish();
            }
        });
    }
}


*5

package my.app.client;
import my.app.client.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;


*6

package my.app.client