Skip to content

Instantly share code, notes, and snippets.

View Sands-45's full-sized avatar
🎯
Focusing

Sands Sands-45

🎯
Focusing
  • SE45
  • 21:13 (UTC +02:00)
View GitHub Profile
@Sands-45
Sands-45 / pass.py
Last active June 17, 2022 07:01
Get All Wifi Passwords
# first we will import the subprocess module
import subprocess
# now we will store the profiles data in "data" variable by
# running the 1st cmd command using subprocess.check_output
data = subprocess.check_output(['netsh', 'wlan', 'show', 'profiles'])
.decode('utf-8').split('\n')
# now we will store the profile by converting them to list
profiles = [i.split(":")[1][1:-1] for i in data if "All User Profile" in i]
import React, { useEffect, useRef, useState } from "react";
const Editor = ({ tooltip }) => {
const [data, setData] = useState("");
const [options, setOptions] = useState([
{ name: "bold", toggled: false },
{ name: "italic", toggled: false },
{ name: "underline", toggled: false },
]);
const editorRef = useRef();