Skip to content

Instantly share code, notes, and snippets.

View SecurityAnalysts's full-sized avatar
💭
I may be slow to respond.

YodaSec Expose SecurityAnalysts

💭
I may be slow to respond.
View GitHub Profile
@SecurityAnalysts
SecurityAnalysts / Kali Linux GUI on Termux Android.md
Created July 16, 2022 01:29 — forked from HimDek/Kali Linux GUI on Termux Android.md
This Guide will help you install Kali Linux in Android, that too with a GUI Desktop Environment within Android. It uses Termux to run Kali Linux in Android with XFCE4 Desktop Environment and a Tight VNC Server, which we connect to using a VNC Viewer app in Android.

How to install Kali Linux GUI Desktop in Android using Termux:

This Guide will help you install Kali Linux in Android, that too with a GUI Desktop Environment within Android. It uses Termux to run Kali Linux in Android with XFCE4 Desktop Environment and a Tight VNC Server, which we connect to using a VNC Viewer app in Android.

Just Follow these steps to install Kali Linux with XFCE4 Desktop GUI in Android using Termux:

  • Download and install Termux in Android. (Play Store release is no more updated, so is not recommended.)
  • Open Termux and run the following commands:
    apt update && apt install python python2 openssh -y
    
@SecurityAnalysts
SecurityAnalysts / beacon configs
Created September 14, 2021 02:29 — forked from MichaelKoczwara/beacon configs
Cobalt Strike C2 possibly attributed to CVE 2021 40444
Cobalt Strike C2 running on 45.147.229[.]242 (Watermark: 1580103814)
HTTP/1.1 404 Not Found
Server: Microsoft-IIS/8.5
Content-Type: text/plain
Cache-Control: max-age=1
Connection: keep-alive
X-Powered-By: ASP.NET
Content-Length: 0
public static boolean validateKeyFile(File fileHandle) {
final int fileSizeLimitKB = 8;
if (fileHandle.length() > fileSizeLimitKB * 1024) {
return false;
}
try {
InputStream is = new FileInputStream(fileHandle);
BufferedReader reader = new BufferedReader(new InputStreamReader(is));