Skip to content

Instantly share code, notes, and snippets.

View willvin313's full-sized avatar

Williams Johnson willvin313

View GitHub Profile
@willvin313
willvin313 / GoogleHackMasterList.txt
Created August 20, 2020 03:24 — forked from mylamour/GoogleHackMasterList.txt
The definitive super list for "Google Hacking".
admin account info" filetype:log
!Host=*.* intext:enc_UserPassword=* ext:pcf
"# -FrontPage-" ext:pwd inurl:(service | authors | administrators | users) "# -FrontPage-" inurl:service.pwd
"AutoCreate=TRUE password=*"
"http://*:*@www” domainname
"index of/" "ws_ftp.ini" "parent directory"
"liveice configuration file" ext:cfg -site:sourceforge.net
"parent directory" +proftpdpasswd
Duclassified" -site:duware.com "DUware All Rights reserved"
duclassmate" -site:duware.com
@willvin313
willvin313 / fixwrongutf8encoding.php
Created April 17, 2020 14:46 — forked from kasperkamperman/fixwrongutf8encoding.php
Function to fix ut8 special characters displayed as 2 characters (utf-8 interpreted as ISO-8859-1 or Windows-1252)
<?php header('Content-Type: text/html; charset=utf-8'); ?>
<html>
<head>
<title>Fix wrong encoded UTF8 characters</title>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
</head>
<body>
<pre>
<?php
/* Problem description:
@willvin313
willvin313 / sketch-never-ending.md
Created October 24, 2018 13:22 — forked from Bhavdip/sketch-never-ending.md
Modify Sketch to never ending trial

###Sketch trial non stop

Open hosts files:

$ open /private/etc/hosts

Edit the file adding:

127.0.0.1 backend.bohemiancoding.com

127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com

@willvin313
willvin313 / AES-256 encryption and decryption in PHP and C#.md
Created July 3, 2018 14:19
AES-256 encryption and decryption in PHP and C#

AES-256 encryption and decryption in PHP and C#

Update: There is a more secure version available. Details

PHP

<?php

$plaintext = 'My secret message 1234';
@willvin313
willvin313 / random number generation, no repeats
Created February 16, 2017 11:42 — forked from jgv/random number generation, no repeats
generate random numbers in php with no repeats
function randomDigits($length){
$numbers = range(0,9);
shuffle($numbers);
for($i = 0;$i < $length;$i++)
$digits .= $numbers[$i];
return $digits;
}
@willvin313
willvin313 / Vigenere cipher C#
Created November 29, 2016 23:29 — forked from maddnias/Vigenere cipher C#
Vigenère cipher in C#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UCipher
{
public class Cipher
{
@willvin313
willvin313 / Changelog
Created April 29, 2016 14:46 — forked from CHEF-KOCH/Changelog
Visual Studio 2015 Update 2
Visual Studio:
Visual Studio Tools for Apache Cordova
Visual Studio Tools for Universal Windows App Development
Visual C++
C# and Visual Basic
.NET Framework 4.6.1
Visual Studio IDE
NuGet
TypeScript