This file contains hidden or 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
| import yara | |
| import os | |
| import sys | |
| import subprocess | |
| import time | |
| # compiled rule file | |
| rule = yara.compile("./new_split_file_rules.yar") | |
| rule.save("./compiled_split_file_rules.yar") |
This file contains hidden or 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
| rule private_ssh_key | |
| { | |
| strings: | |
| $re1 = /\\A.*_rsa\\z/ | |
| $re2 = /^.*_rsa$/ | |
| $re3 = /\\A.*_dsa\\z/ | |
| $re4 = /^.*_dsa$/ | |
| $re5 = /\\A.*_ed25519\\z/ |
This file contains hidden or 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 | |
| gcc -o mypcap main.c -lpcap | |
| ./mypcap |
This file contains hidden or 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
| wget https://download.qt.io/official_releases/qtcreator/4.9/4.9.2/qt-creator-opensource-linux-x86_64-4.9.2.run | |
| chmod +x qt-creator-opensource-linux-x86_64-4.9.2.run | |
| ./qt-creator-opensource-linux-x86_64-4.9.2.run | |
| cd /opt/qtcreator-4.9.2/bin/ | |
| ./qtcreator.sh |
This file contains hidden or 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
| from time import sleep | |
| import requests | |
| import os | |
| BUS_PATH = './bus_data/' | |
| class crawl: | |
| def __init__(self): | |
| self.file_count = 0 |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Watch temp</title> | |
| </head> | |
| <body> | |
| <h1> | |
| {% if ID %} | |
| Your ID : {{ ID }} |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Main Page</title> | |
| </head> | |
| <body> | |
| <form action="/user" method="POST"> | |
| <p> |
This file contains hidden or 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
| from flask import Flask | |
| from flask import render_template | |
| from flask import request | |
| import serial | |
| app = Flask(__name__) | |
| @app.route('/') | |
| def Login(): | |
| return render_template('main.html') |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>{{ val }} times table</title> | |
| </head> | |
| <body> | |
| <h1> | |
| {{ val }} TABLE |
This file contains hidden or 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
| from flask import Flask, request | |
| from flask import render_template | |
| app = Flask(__name__) | |
| @app.route('/') | |
| def hello_world(): | |
| return """ | |
| <form action='number' method=post> | |
| <p><input type=number name=value> |