Skip to content

Instantly share code, notes, and snippets.

View Will-777's full-sized avatar

Skel - William Touzalin Will-777

View GitHub Profile
@Will-777
Will-777 / Invoke-ExploitBdVpnLpe.psm1
Created July 2, 2020 05:55 — forked from ykoster/Invoke-ExploitBdVpnLpe.psm1
Exploit module for Bitdefender VPN for Windows
<#
.Synopsis
Exploit module for Bitdefender VPN for Windows
.Parameter Command
Command(s) to be executed when openvpn.exe is started
.Example
Import-Module .\Invoke-ExploitBdVpnLpe.psm1
Invoke-ExploitBdVpnLpe "net user backdoor P@ssword /add" "net localgroup administrators backdoor /add"
@Will-777
Will-777 / gist:85eece8d6bcbc4ffe2cf53278d2b2f64
Created December 11, 2018 06:38
To Allow Powershell scripts on windows10
Open Run Command/Console ( Win + R )
Type: gpedit.msc (Group Policy Editor)
Browse to Local Computer Policy -> Computer Configuration -> Administrative Templates -> Windows Components -> Windows Powershell.
Enable "Turn on Script Execution"
Set the policy as needed. I set mine to "Allow all scripts".
@Will-777
Will-777 / sigmoidGraph.py
Last active November 13, 2021 09:44
simple sigmoid function with Python
#import section
from matplotlib import pylab
import pylab as plt
import numpy as np
#sigmoid = lambda x: 1 / (1 + np.exp(-x))
def sigmoid(x):
return (1 / (1 + np.exp(-x)))
mySamples = []