Skip to content

Instantly share code, notes, and snippets.

View Cvar1984's full-sized avatar
⚠️
This account is under NSA investigation

Bellatrix Lugosi Cvar1984

⚠️
This account is under NSA investigation
View GitHub Profile
@Cvar1984
Cvar1984 / my fstab
Last active January 27, 2023 03:39
/etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
UUID=c5ea582e-9ace-4c90-a768-61c0006cd00b / ext4 defaults,noauto,noatime 0 1
UUID=3E91-C5F0 /boot/efi vfat umask=0077 0 2
UUID=f2b33abe-1439-4f75-9b0d-1e139c7cf781 /home ext4 defaults,noatime 0 2
@Cvar1984
Cvar1984 / hex.js
Created June 18, 2022 20:20 — forked from valentinkostadinov/hex.js
JavaScript HEX encoding
function toHex(s) {
// utf8 to latin1
var s = unescape(encodeURIComponent(s))
var h = ''
for (var i = 0; i < s.length; i++) {
h += s.charCodeAt(i).toString(16)
}
return h
}
<?php
$pathLists = [
'/files',
'/file',
'/journals',
'/journal',
'/jurnal',
'/jurnals',
'/jurnal_file',
@Cvar1984
Cvar1984 / sshd_config
Last active May 14, 2022 04:19
my ssh config
# Copy the rsa.pub file to the SSH server.
# If you have an existing authorized_keys file, edit it to remove any no-pty restrictions.
# Add the public key to the authorized_keys file, from the /.ssh directory.
# cat id_rsa.pub >> ~/.ssh/authorized_keys
# Package generated configuration file
# See the sshd_config(5) manpage for details
# What ports, IPs and protocols we listen for
Port 22
# Use these options to restrict which interfaces/protocols sshd will bind to
@Cvar1984
Cvar1984 / wp-csrf.html
Last active July 15, 2022 08:12
CVE-2011-0701 wp-admin/async-upload.php in the media uploader in WordPress before 3.0.5 allows remote authenticated users to read (1) draft posts or (2) private posts via a modified attachment_id parameter.
<form enctype="multipart/form-data" action="https://example.com/wp-admin/async-upload.php" method="post">
<input type="file" name="uploadfile">
<input type="submit" value="upload">
</form>
#include <stdio.h>
typedef struct Man {
int age;
char *name;
} Man;
int main()
{
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta name="description" content="Site is under construction">
<meta name="keywords"content="blackhole security, bhsec, Cvar1984, hacked, hacking, deface, exploit, defacement, pentest">
<meta name="author" content="Cvar1984">
<meta name="categories" content="website">
<meta name="copyright" content="Cvar1984" />
<?php
/**
* Shadow 5hell
*
* @category Seucurity
*
* @package Shadow
*
* @author Cvar1984 <Cvar1984@protonmail.com>
<?php
/**
* BinaryUtils.php
* Copyright (c) 2021 Cvar1984 <gedzsarjuncomuniti@gmail.com>
*
* DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
* Version 2, December 2004
*
* Everyone is permitted to copy and distribute verbatim or modified
* copies of this license document, and changing it is allowed as long
<?php
/**
* XorEncrypt.php
* Copyright (c) 2021 Cvar1984 <Cvar1984@pm.me>
*
* DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
* Version 2, December 2004
*
* Everyone is permitted to copy and distribute verbatim or modified
* copies of this license document, and changing it is allowed as long