When does Linux KVM emulate instructions?
graph LR
x86_emulate_instruction --> x86_emulate_insn
emulate_instruction --> x86_emulate_instruction| // SPDX-FileCopyrightText: © 2012 Jonathon Reinhart <[email protected]> | |
| // SPDX-License-Identifier: MIT | |
| #include "Breakpoints.h" | |
| #include "util.h" | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| // This causes UD2 opcodes to be used instead of INT3. | |
| #define USE_UD2_BREAKPOINT 1 |
| #!/usr/bin/env python3 | |
| # Show Linux NBD (Network Block Device) info | |
| # Requires Python 3.7+ | |
| # Author: Jonathon Reinhart | |
| # License: MIT | |
| from dataclasses import dataclass | |
| from pathlib import Path | |
| class NotConnected(Exception): | |
| pass |
| # This is a magic(5) description for partclone(8) output files. | |
| # References: | |
| # https://github.com/Thomas-Tsai/partclone/blob/master/src/partclone.h | |
| # Structure: `image_head_v2` | |
| # magic (16) | |
| 0 string partclone-image Partclone image | |
| ################################################################################ | |
| # Version 1 |
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>mousedown demo</title> | |
| <script src="https://code.jquery.com/jquery-1.10.2.js"></script> | |
| </head> | |
| <body> | |
| <div id="trigger" style="border-style: solid">Click here to log.</div> |
| #!/bin/bash | |
| # Simply generate a self-signed certificate for a DNS name | |
| # Options | |
| NUMDAYS=3650 # 10 years | |
| error() { | |
| echo "Error: $1" | |
| exit 1 | |
| } |
| #!/bin/bash | |
| if [[ $# -ne 2 ]]; then | |
| echo "Usage: $(basename $0) CERTFILE KEYFILE" | |
| exit 1 | |
| fi | |
| certpath="$1" | |
| keypath="$2" |
| #!/bin/bash | |
| host="127.0.0.1" | |
| port="13337" | |
| maxwait=5 | |
| dur=0 | |
| while true; do | |
| ( echo -n "" > /dev/tcp/$host/$port ) 2>/dev/null | |
| if [[ $? -eq 0 ]]; then |
| #!/usr/bin/env python3 | |
| # https://www.rfc-editor.org/rfc/rfc3442.html | |
| from binascii import unhexlify | |
| from socket import inet_ntop, AF_INET | |
| from io import BytesIO | |
| import math | |
| """ | |
| Classless Route Option Format |
See https://www.dropbox.com/install?os=lnx
curl -L -O https://www.dropbox.com/download?dl=packages/ubuntu/dropbox_2020.03.04_amd64.deb
apt install python3-gpg
apt install ./dropbox_*.deb
dropbox start -i