Skip to content

Instantly share code, notes, and snippets.

View kuwaitbinary's full-sized avatar
💭
Surviving sometimes I am free sometimes I am busy

Abdullah Al Mashmoum kuwaitbinary

💭
Surviving sometimes I am free sometimes I am busy
  • Kuwait
View GitHub Profile
@teocci
teocci / how-to-ssh-into-windows.md
Created October 13, 2022 08:07
How to SSH into Windows 10 or 11?

How to SSH into Windows 10 or 11?

The latest builds of Windows 10 and Windows 11 include a build-in SSH server and client that are based on OpenSSH. This means now you can remotely connect to Windows 10/11 or Windows Server 2019 using any SSH client, like Linux distros. Let's see how to configure OpenSSH on Windows 10 and Windows 11, and connect to it using Putty or any other SSH client.

OpenSSH is an open-source, cross-platform version of Secure Shell (SSH) that is used by Linux users for a long time. This project is currently ported to Windows and can be used as an SSH server on almost any version of Windows. In the latest versions of Windows Server 2022/2019 and Windows 11, OpenSSH is built-in to the operating system image.

@SkyyySi
SkyyySi / youtube-vanced-alternatives.md
Last active August 25, 2024 13:54
A list of alternatives after the shutdown of Vanced

NONE OF THESE CLIENTS ARE VERIFIED BY ME FOR SECURITY OR ANYTHING ELSE! USE AT YOUR OWN RISK!

These are the current alternatives (with links when possible):

@taskylizard
taskylizard / fmhy.md
Last active September 21, 2024 15:39
/r/freemediaheckyeah, in one single file (view raw)
@r00t-3xp10it
r00t-3xp10it / DumpLsass.ps1
Last active March 27, 2024 21:51
Dump Lsass.exe process memory to retrieve credentials!
<#
.SYNOPSIS
Dump Lsass.exe process memory to retrieve credentials!
Author: @r00t-3xp10it
Mitre : T1003 (lolbas)
Tested Under: Windows 10 (19042) x64 bits
Required Dependencies: Admin privs, rundll32.exe, comsvcs.dll
Optional Dependencies: cmd, Invoke-WebRequest
PS cmdlet Dev version: v1.0.7
@vaygeth89
vaygeth89 / widget_wrapper.dart
Created July 3, 2021 13:29
Flutter Widget with AppBar Wrapper
class WidgetWithAppBarWrapper extends StatelessWidget {
final Widget Function(BuildContext) builder;
const WidgetWithAppBarWrapper({Key? key, required this.builder})
: super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
body: Builder(builder: (context) => builder(context)),
bottomNavigationBar: PersistantBottomAppBar());
@SeanPesce
SeanPesce / https_server.py
Last active September 19, 2024 15:55
Simple Python 3 HTTPS Server (SSL/TLS)
#!/usr/bin/env python3
# Author: Sean Pesce
# References:
# https://stackoverflow.com/questions/19705785/python-3-simple-https-server
# https://docs.python.org/3/library/ssl.html
# https://docs.python.org/3/library/http.server.html
# Shell command to create a self-signed TLS certificate and private key:
# openssl req -new -newkey rsa:4096 -x509 -sha256 -days 365 -nodes -out cert.crt -keyout private.key
@gh640
gh640 / simple-https-server.py
Created March 7, 2021 01:43
Sample: A simple https server with Python for development (Python 3.9+).
"""Simple https server for development."""
import ssl
from http.server import HTTPServer, SimpleHTTPRequestHandler
CERTFILE = './localhost.pem'
def main():
https_server(certfile=CERTFILE)
"use strict";
const { has, prop, pick, concat } = require("lodash/fp");
const {
PUBLISHED_AT_ATTRIBUTE,
} = require("strapi-utils").contentTypes.constants;
const { getService } = require("strapi-plugin-content-manager/utils");
module.exports = {
@juanbrujo
juanbrujo / PlayStationBIOSFilesNAEUJP.md
Last active September 20, 2024 10:08
Files for PlayStation BIOS Files NA-EU-JP
@lennardv2
lennardv2 / 1. Building PHP-MAMP on Apple Silicon M1.md
Last active February 29, 2024 07:57
Native PHP development / MAMP stack on Apple silicon M1

Building the MAMP stack (php, apache & mysql) on Apple Silicon ARM (native)

Update! This tutorial is outdated. Nowadays brew installes m1 binaries just fine. Also use valet: https://laravel.com/docs/9.x/valet. It's 10x easier.

In this tutorial, we'll build the the nescessary packages for ARM via homebrew. After that we'll configure apache2 for using virtual hosts. The native php is ofcourse way faster, see the results of this benchmark below.

TEST NAME SECONDS OP/SEC