title | tags |
---|---|
LDPlayer AIO (Debloat, AdBlock, Magisk Root, Custom Rom, Burp Suite, Mitmproxy) |
ldplayer, android |
- Brain 🧠 [NOT OPTIONAL]
- LDPlayer
- ADB (optional, included in LDPlayer Root Folder)
title | tags |
---|---|
LDPlayer AIO (Debloat, AdBlock, Magisk Root, Custom Rom, Burp Suite, Mitmproxy) |
ldplayer, android |
// This shows an example of how to generate a SSH RSA Private/Public key pair and save it locally | |
package main | |
import ( | |
"crypto/rand" | |
"crypto/rsa" | |
"crypto/x509" | |
"encoding/pem" | |
"golang.org/x/crypto/ssh" |
package main | |
import ( | |
"context" | |
"flag" | |
"fmt" | |
"log" | |
"os" | |
"os/signal" | |
"syscall" |
This walk through comes from @GalacticFurball who tweeted two images representing the youtube_dl source code as of 2020-09-20. They mentioned later in the thread that they struggled converting the gzip-compressed tarball of the source code with Imagemagick to a PNG, so they ended up using a 3rd party website to do the work. This Gist will show you how to do it cleanly and exactly.
If you would like to convert any non-image binary into PNG, Imagemagick makes this trivial. I will be executing the commands on a Debian Linux system, so you may need to adjust the commands for BSD, macOS, or Windows as necessary.
You are Kiro, an AI assistant and IDE built to assist developers.
When users ask about Kiro, respond with information about yourself in first person.
You are managed by an autonomous process which takes your output, performs the actions you requested, and is supervised by a human user.
You talk like a human, not like a bot. You reflect the user's input style in your responses.
from flask import Flask, Response, stream_with_context, request | |
import time | |
app = Flask(__name__) | |
# ================= Basic Streaming ================= | |
@app.route('/hello-world') | |
def hello_world(): |
# import as CA Cert (DER) | |
openssl x509 -in mitmproxy-ca-cert.pem -outform DER -out mitmproxy-ca-cert.der | |
# import as private key (DER) | |
openssl rsa -in mitmproxy-private-key.pem -outform DER -out mitmproxy-private-key.der |
import copy | |
import json | |
import random | |
from datetime import datetime | |
from pathlib import Path | |
from typing import Any, Dict, List, Optional, Tuple | |
class ScenarioConfigManager: | |
"""Manages loading, saving, and validating scenario configurations""" |
""" | |
Google Cloud Storage Bucket Browser Library | |
A Python library for browsing Google Cloud Storage buckets using the public API. | |
Provides an S3-like interface for listing and navigating bucket contents. | |
""" | |
import logging | |
from dataclasses import dataclass | |
from typing import Dict, Iterator, List, Optional, Union |
This code fixes the chunked encoding error from SYNOLOGY C2 S3 BUCKET in BOTO3
error:
boto3.exceptions.S3UploadFailedError: Failed to upload requirements.txt to requirements.txt: An error occurred (NotImplemented) when calling the PutObject operation: Transfering payloads in multiple chunks using aws-chunked is not supported.
We need to disable chunked encoding as c2 synology has no chunked encoding support like aws s3 or recent minio versions.
Note: This was not AI generated