Skip to content

Instantly share code, notes, and snippets.

@warthogtk
warthogtk / gist:5026be7b04cc6bf91ce6acc7048c32f6
Created November 19, 2023 12:21 — forked from adamsvoboda/gist:9ac52548d3d81f3185e36b9f0be31990
Windows Defender LSASS ASR Exclusion Paths - 08.30.2023
%windir%\system32\WerFaultSecure.exe
%windir%\system32\mrt.exe
%windir%\system32\svchost.exe
%windir%\system32\NETSTAT.EXE
%windir%\system32\wbem\WmiPrvSE.exe
%windir%\system32\DriverStore\FileRepository\*\NVWMI\nvWmi64.exe
%programfiles(x86)%\Microsoft Intune Management Extension\ClientHealthEval.exe
%programfiles(x86)%\Microsoft Intune Management Extension\SensorLogonTask.exe
%programfiles(x86)%\Microsoft Intune Management Extension\Microsoft.Management.Services.IntuneWindowsAgent.exe
%programdata%\Microsoft\Windows Defender Advanced Threat Protection\DataCollection\*\OpenHandleCollector.exe
@warthogtk
warthogtk / tf-gpu.py
Created March 21, 2023 09:30
Test if Tensorflow detects GPU
import tensorflow as tf # Importation de tensorflow
print("Num GPUs Available: ", len(tf.config.list_physical_devices('GPU')))
@warthogtk
warthogtk / CNN.py
Last active March 21, 2023 15:09
Convolutional Neural Network
from keras.models import Sequential # Sequénce de couche et non en graphe
from keras.layers import Convolution2D # Convolution 2D
from keras.layers import MaxPooling2D # Max Pooling
from keras.layers import Flatten # Flattening
from keras.layers import Dense # Couche pleinement connectée
# Création du CNN
classifier = Sequential() # Initialisation du CNN en créant un classifieur séquentiel
classifier.add(Convolution2D(filters=32,
kernel_size=3,