Skip to content

Instantly share code, notes, and snippets.

@sharpicx
sharpicx / nope
Last active February 27, 2020 11:56
ME
My name is Skofos/.
I'm a Security Researcher/.
Keen interest in Reverse Engineering/&
Web Exploitation.
@sharpicx
sharpicx / ArrTabControl.cs
Last active April 29, 2020 13:13
TabControl
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Security;
using System.Text;
@sharpicx
sharpicx / VBSObfuscator.vbs
Created October 25, 2019 06:39
just an Obfuscator for VBScript :D
Option Explicit
Dim ws,Title,InPutFile,OutPutFile,Data
Title = "Obfuscator by Skofos"
If wscript.arguments.count > 0 Then
InPutFile = Wscript.Arguments(0)
If Not IsVBSFile(InPutFile) Then Call Display_Help_Usage()
OutPutFile = GetFilenameWithoutExtension(InPutFile) & "_lol.vbs"
Data = ReadFile(InPutFile)
Write2File Encrypt(Data),OutPutFile
Set ws = CreateObject("wscript.shell")
@sharpicx
sharpicx / IconInjector.cs
Last active May 2, 2020 08:45
just a shit class helper that inject a icon to executables. thanks for coming :D
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Security;
using System.Text;
using System.Threading.Tasks;
namespace LmaoLocker
{
@sharpicx
sharpicx / disblingRightClick.js
Last active September 8, 2021 14:29
rightclick.js
var _NS = (navigator.appName == "Netscape") ? 1 : 0;
var EnableRightClick = 0;
if(_NS)
document.captureEvents(Event.MOUSEDOWN||Event.MOUSEUP);
function mischandler()
{
if(EnableRightClick==1)
{
return true;
}
@sharpicx
sharpicx / title.js
Last active February 15, 2022 06:05
simple scrolling title script.
msg = " empty name -" // fill this string
msg = " simple scroll -"+ msg;position = 0;
function puter() { // simple scroll function
document.title = msg.substring(position, msg.length) + msg.substring(0, position);
position++;
if (position > msg.length) position = 0
window.setTimeout("puter()",50);
}
puter();
@sharpicx
sharpicx / AESGCM.cs
Created April 29, 2020 19:54 — forked from jbtule/AESGCM.cs
I have two code examples that I wrote for best practices encrypting a string in c#. They are both using authenticated encryption. http://stackoverflow.com/a/10366194/637783
/*
* This work (Modern Encryption of a String C#, by James Tuley),
* identified by James Tuley, is free of known copyright restrictions.
* https://gist.github.com/4336842
* http://creativecommons.org/publicdomain/mark/1.0/
*/
using System;
using System.IO;
using System.Text;
@sharpicx
sharpicx / rain.js
Last active September 11, 2021 07:02
fixed rain
document.addEventListener("DOMContentLoaded", function() {
demo.init();
window.addEventListener('resize', demo.resize);
});
// demo namespace
var demo = {
// CUSTOMIZABLE PROPERTIES
// - physics speed multiplier: allows slowing down or speeding up simulation
speed: 1,
@sharpicx
sharpicx / pamixer.sh
Last active November 22, 2022 09:25
pamixer increasing/decreasing volume notification using dunstify or notify-send and canberra-gtk-play used for audio.
#! /bin/bash
# Author: sharpicx
case $1 in
up)
pamixer -i 5
volume="$(pamixer --get-volume)"
dunstify "VOLUME" "Volume get increasing to $volume%" -h int:value:$volume -i audio-volume-high
canberra-gtk-play -i audio-volume-change -d "changevolume"
@sharpicx
sharpicx / snakes.js
Created September 10, 2021 14:38
snakes game.
(function() {
const canvas = document.getElementById("game_field");
const context = canvas.getContext("2d");
const width = canvas.width;
const height = canvas.height;
this.gameOver = false;
this.pause = true;
this.started = false;
const CELLS_COUNT = 25;
const CELL_SIZE = Math.round(width / CELLS_COUNT);