Skip to content

Instantly share code, notes, and snippets.

Mathieu Deous mdeous

Block or report user

Report or block mdeous

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@mdeous
mdeous / tpm.md
Created Sep 3, 2018
Upgrade Dell laptop TPM from 1.2 to 2.0
View tpm.md

Dell TPM Upgrade

  • Download the "Dell TPM 2.0 Firmware Update Utility" from the Dell support website
  • Create a FreeDOS USB stick:
    • Format USB stick to FAT32
    • Mount USB stick (required by unetbootin)
    • Download unetbootin
    • Run unetbootin (as root), select FreeDOS, select the right volume, and install
  • Copy the downloaded firmware update file to the USB stick
  • Boot the laptop from the USB stick
View go.go
type Collector interface {
Collect()
}
type LogsCollector struct {
output string
}
func (lc *LogsCollector) Collect() {
// do stuff
View whitelist.diff
diff --git a/php-malware-finder/whitelists/wordpress.yar b/php-malware-finder/whitelists/wordpress.yar
index 79655f1..4ea40d6 100644
--- a/php-malware-finder/whitelists/wordpress.yar
+++ b/php-malware-finder/whitelists/wordpress.yar
@@ -1,477 +1,1046 @@
import "hash"
-private rule Wordpress : Blog
+private rule Wordpress
{
View keybase.md

Keybase proof

I hereby claim:

  • I am mdeous on github.
  • I am mattoufoutu (https://keybase.io/mattoufoutu) on keybase.
  • I have a public key ASDmLstCX-pjT0d0WesnQjJo5addUdJM85E092PvthZJmQo

To claim this, I am signing this object:

View gist:4c75dbd30dd80220647cb19c6d4bf372
W: Skipping acquire of configured file 'stable/binary-i386/Packages' as repository 'http://security.ubuntu.com/ubuntu artful-security InRelease' doesn't have the component 'stable' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'stable/binary-amd64/Packages' as repository 'http://security.ubuntu.com/ubuntu artful-security InRelease' doesn't have the component 'stable' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'stable/i18n/Translation-en_US' as repository 'http://security.ubuntu.com/ubuntu artful-security InRelease' doesn't have the component 'stable' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'stable/i18n/Translation-en' as repository 'http://security.ubuntu.com/ubuntu artful-security InRelease' doesn't have the component 'stable' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'stable/dep11/Components-amd64.yml' as repository 'http://security.ubuntu.com/ubuntu artful-security InRele
@mdeous
mdeous / multipass.zsh
Last active Oct 22, 2019
multipass.zsh - A wrapper for people using multiple pass (password-store) stores
View multipass.zsh
#
# multipass.zsh
#
# A wrapper to pass (password-store) for managing multiple
# store paths with a single command while still benefiting
# from Zsh's completion features.
#
# Usage: add the following lines to your .zshrc:
# source /path/to/multipass.zsh
# PASSWORD_STORES[pass1]=/path/to/pass1-store
View selfref.py
>>> l = []
>>> l.append(l)
>>> l.append("foo")
>>> print(l)
[[...], 'foo']
>>> print(l[0])
[[...], 'foo']
>>> print(l[0][0])
[[...], 'foo']
>>> print(l[0][0][0])
View golearn.go
package main
import (
"fmt"
"io/ioutil"
"path"
)
func scanFile(targets *chan string, results *chan string) {
for target := range *targets {
View multipwn.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
from netaddr import iter_nmap_range
if len(sys.argv) < 6:
View transfer_pokemon.py
import json
from time import sleep
from pokemongo_bot.human_behaviour import action_delay
from pokemongo_bot.base_task import BaseTask
class TransferPokemon(BaseTask):
SUPPORTED_TASK_API_VERSION = 1
You can’t perform that action at this time.