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
server { | |
listen 8080; | |
server_name www.icinga.lc; | |
root /usr/share/icingaweb2/public; #Path of icinga2 web directory | |
index index.php; | |
access_log /var/log/nginx/access.log; | |
error_log /var/log/nginx/error.log; | |
location = /favicon.ico { | |
log_not_found off; |
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
sudo apt-get install x11vnc | |
sudo x11vnc -forever -repeat -shared -loop -auth /run/user/1000/gdm/Xauthority | |
sudo tee <<EOF > /lib/systemd/system/x11vnc.service | |
[Unit] | |
[Service] | |
Type=forking | |
ExecStart=/usr/bin/x11vnc -forever -repeat -shared -loop -auth /run/user/1000/gdm/Xauthority | |
Restart=on-failure |
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
# firewall-cmd --state | |
показать состояние | |
# systemctl [start | status | stop] firewalld | |
запуск, состояние, стоп таргета | |
# systemctl [enable | disable ] firewalld |
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
#developed by @ep4sh | |
import re | |
import sys | |
################# | |
# USAGE (from terminal): | |
# python sourceCodeRemover.py <source_code_name> | |
############### | |
# .NET + | |
# Python +- |
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
#ep4sh.github.io | |
from selenium import webdriver | |
from selenium.webdriver.common.keys import Keys | |
import re | |
#template fo reg search | |
pattern = re.compile(r"(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$)") | |
#tor?? | |
service_args = [ '--proxy=localhost:9150', '--proxy-type=socks5', ] | |
#drova | |
driver = webdriver.Firefox() |
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
#Developed by @ep4sh | |
#This one brute with login:login entities | |
#U can modify this as u want | |
from selenium import webdriver | |
driver = webdriver.Firefox() | |
driver.get("https://www.vk.com/") | |
login = driver.find_element_by_id("index_email") | |
password = driver.find_element_by_id("index_pass") |
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
#Developed by @ep4sh | |
import smtplib | |
from email.mime.text import MIMEText | |
msg = MIMEText("The body ") | |
msg['Subject'] = "Subj" | |
msg['From'] = "[email protected]" | |
msg['To'] = "[email protected]" | |
s = smtplib.SMTP('localhost') |
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
#Developed by @ep4sh | |
#This one brute with login:login entities | |
#U can modify this as u want | |
import requests | |
import time | |
from requests.auth import AuthBase | |
from requests.auth import HTTPBasicAuth | |
with open("login", "r") as f: |
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 selenium import webdriver | |
service_args = [ '--proxy=localhost:9150', '--proxy-type=socks5', ] | |
driver = webdriver.PhantomJS(executable_path='<path to PhantomJS>', service_args=service_args) | |
driver.get("http://icanhazip.com") | |
print(driver.page_source) | |
driver.close() |
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 re | |
p = re.compile('order-.*-online') | |
with open("str.txt","r") as f: | |
file_str = f.read() | |
lst = re.findall(p, file_str) | |
for i in lst: | |
print(i.replace("_","-")) |
NewerOlder