This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Vodafone router | |
// Firmware version: 3.6.12-IMS-KDG | |
package main | |
import ( | |
"bytes" | |
"crypto/sha256" | |
"encoding/hex" | |
"encoding/json" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Tables": [ | |
{ | |
"Schema": [ | |
{ | |
"Description": "Date and time when the record was generated", | |
"Type": "DateTime", | |
"Entity": null, | |
"Name": "Timestamp" | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import re | |
import shutil | |
import sys | |
class ObsidianFileManager: | |
def __init__(self, vault_path): | |
self.vault_path = vault_path | |
self.markdown_files = self.get_markdown_files() | |
self.files = self.get_all_files() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Script to delete all images referenced in Markdown files within a specified notes path. | |
It scans the Markdown files for Obsidian image syntax and deletes all notes with the referenced images. | |
""" | |
import os | |
import re | |
import argparse | |
def delete_by_path(file_path): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Example of how easy to develop keylogger in golang | |
package main | |
import ( | |
"fmt" | |
"github.com/atotto/clipboard" | |
"github.com/cloudflare/cfssl/log" | |
"github.com/eiannone/keyboard" | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"strings" | |
"github.com/cavaliercoder/grab" | |
"github.com/gocolly/colly/v2" | |
) | |
func main() { | |
domain := "www.malware-traffic-analysis.net" | |
c := colly.NewCollector( |