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 shodan import Shodan | |
import subprocess as sp | |
import requests | |
api = Shodan("iG0r3X7hjuIVWlopWTyy8DPO7eIF3wEG") | |
def clrscr(): | |
sp.call(["clear"], shell=True) | |
def breakline(): |
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
--- | |
- hosts: localhost | |
become: yes | |
name: play_1 | |
tasks: | |
- name: Installing Python3.6 | |
dnf: name=python3.6 state=latest | |
- name: Downloading get-pip.py | |
shell: wget https://bootstrap.pypa.io/get-pip.py |
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 subprocess as sp | |
from hashlib import md5, sha1, sha384, sha224, sha512, sha256 | |
import os | |
HASHES = ['sha256', 'sha384', 'sha224', 'sha512', 'sha1', 'md5'] | |
def breakline(): | |
print('-'*80) | |
def clrscr(): |
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
<html> | |
<head> | |
<title>Task for GCI</title> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> | |
<style> | |
input{ | |
border: none; | |
background-color: lightblue; | |
} | |
body{ |
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 | |
import telegram | |
import os | |
os.chdir('mysite') | |
bot_token = "API KEY" | |
bot_user_name = "Gotoh_Welcome_Bot" | |
URL = "your hosted url" | |
TOKEN = bot_token | |
bot = telegram.Bot(token=TOKEN) |
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
--- | |
- hosts: localhost | |
name: play_1 | |
tasks: | |
- name: Creating the Account | |
user: | |
name: test_3 | |
password: '2cc88511a4cd61e01f8d1636a2c82470fef06c9f473cff464b61798588b284b6' |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 requests | |
import re | |
from bs4 import BeautifulSoup | |
class colors: | |
GREEN = '\033[92m' | |
STOP = '\033[0m' | |
RED='\033[31m' | |
class CheckUsername: |
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 functools import reduce | |
def return_factors(n): | |
p = 2 | |
Factors = {} | |
while p * p <= n: | |
count = 0 | |
while n % p == 0: | |
n //= p | |
count += 1 |
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 math | |
def number_of_factors(num): | |
count = 0 | |
for i in range(1, int(math.sqrt(num))+1): | |
if num%i == 0: | |
if num/i == i: | |
count += 1 | |
else: | |
count += 2 |