-
On WP install the plugin SAML 2.0 Single Sign-On
-
Once installed, copy and paste into an email the section “Your SAML Info”
-
Make sure to check only the box labeled ‘Allow SSO Bypass’.
-
Click Service Provider tab and put a check in the “Generate new certificate and private key for me.” then click update at the bottom of the page.
admin account info" filetype:log | |
!Host=*.* intext:enc_UserPassword=* ext:pcf | |
"# -FrontPage-" ext:pwd inurl:(service | authors | administrators | users) "# -FrontPage-" inurl:service.pwd | |
"AutoCreate=TRUE password=*" | |
"http://*:*@www” domainname | |
"index of/" "ws_ftp.ini" "parent directory" | |
"liveice configuration file" ext:cfg -site:sourceforge.net | |
"parent directory" +proftpdpasswd | |
Duclassified" -site:duware.com "DUware All Rights reserved" | |
duclassmate" -site:duware.com |
import os | |
import re | |
def which(program): | |
""" | |
Detect whether or not a program is installed. | |
Thanks to http://stackoverflow.com/a/377028/70191 | |
""" | |
def is_exe(fpath): | |
return os.path.exists(fpath) and os.access(fpath, os.X_OK) |
##Netcat Commands
NOTE: - If on Ubuntu, you need the REAL nc package, to get it use:
sudo apt-get -y install netcat-traditional
sudo update-alternatives --config nc
# Select the nc.traditional option
To copy some files from one directory to another can be done kinda nicely with the find
command.
- First define the start date:
touch --date "2024-01-01" /tmp/start
- Define the end date:
touch --date "2024-02-01" /tmp/end
- Now simply craft a
find
command like this:
find /var/logs/some_dir -type f -newer /tmp/start -not -newer /tmp/end -exec cp "{}" /opt/another/directory \;
NOTE: In the above command, the -exec
part of the find uses "{}"
as where it puts each filename
Note: I found this on the /r/Piracy subreddit (https://www.reddit.com/r/Piracy/comments/3i9y7n/guide_for_finding_textbooks/?sort=confidence) however I am including a copy here just in case.
So you have a list of books you need to buy for college. There are some really great resources for finding them online, but I'm going to run through the easiest methods for searching all of them here.
First, let's start off by using the method that will allow you to find the vast majority of books. Google. It tends to be easier if you can search multiple sites at once, and this is the easiest way to do it.
There was a search engine that /u/ratokursi made 3 years ago, but by now most of the sites are either dead or have changed the url. I decided to make a new one, this time after reviewing 100+ sites and adding to working ones to the custom search engine.
https://cse.google.com/cse/publicurl?cx=011394183039475424659:5bfyqg89ers
#/usr/bin/bash | |
# strings to look for in our file | |
# Note: you could just parse the whole file. But if you put in a bad password your IP | |
# could end up on the bad guy list | |
declare -a badstrings=("Failed password for invalid user" | |
"input_userauth_request: invalid user" | |
"pam_unix(sshd:auth): check pass; user unknown" | |
"input_userauth_request: invalid user" | |
"does not map back to the address" | |
"pam_unix(sshd:auth): authentication failure" |
This is a script to export bookmarks from the web browser Google Chrome to a users home drive in a Windows environment with clients and domain controllers. Most of the script comes from this article
- Double-click on the bat-file.
- Go the home drive on the users new computer.
- Double-click on openChromeFolder.bat which will take you to the chrome directory on that machiene.
- Copy the file Bookmarks to the newly opened window.
#!/usr/bin/env python2 | |
#============================================================================================================# | |
#======= Simply injects a JavaScript Payload into a GIF. ====================================================# | |
#======= or it creates a JavaScript Payload as a GIF. ====================================================# | |
#======= The resulting GIF must be a valid (not corrupted) GIF. =============================================# | |
#======= Author: marcoramilli.blogspot.com ==================================================================# | |
#======= Version: PoC (don't even think to use it in development env.) ======================================# | |
#======= Disclaimer: ========================================================================================# | |
#THIS IS NOT PEP3 FORMATTED | |
#THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR |