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
| <%-- Begin Ldap Attributes --%> | |
| <c:if test="${fn:length(assertion.chainedAuthentications) > 0}"> | |
| <cas:attributes> | |
| <c:forEach var="auth" items="${assertion.chainedAuthentications}"> | |
| <c:forEach var="attr" items="${auth.principal.attributes}" > | |
| <cas:${fn:escapeXml(attr.key)}>${fn:escapeXml(attr.value)}</cas:${fn:escapeXml(attr.key)}> | |
| </c:forEach> | |
| </c:forEach> | |
| </cas:attributes> | |
| </c:if> |
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
| <% response.sendRedirect("/cas/login"); %> |
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
| ### Keybase proof | |
| I hereby claim: | |
| * I am jtgasper3 on github. | |
| * I am jtgasper3 (https://keybase.io/jtgasper3) on keybase. | |
| * I have a public key whose fingerprint is BB2F F64C CEA3 3C4C 5581 B070 1F60 9F58 BAFE E3EF | |
| To claim this, I am signing this object: |
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
| <%@ page import="org.apache.log4j.Logger"%> | |
| <%@ page session="false" %> | |
| <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> | |
| <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> | |
| <% | |
| Logger logger = Logger.getLogger( "org.jasig.cas.clearPassSuccess.jsp" ); | |
| logger.debug("clearpass: " + request.getAttribute("credentials")); | |
| %><cas:clearPassResponse xmlns:cas='http://www.yale.edu/tp/cas'> | |
| <cas:clearPassSuccess> | |
| <cas:credentials>${fn:escapeXml(credentials)}</cas:credentials> |
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
| docker rm -v $(docker ps -a -q -f status=exited) | |
| docker rmi $(docker images -f "dangling=true" -q) |
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
| <https://github.com/mitreid-connect/json-web-key-generator> | |
| encryption key: | |
| ``` java -jar json-web-key-generator-0.3-SNAPSHOT-jar-with-dependencies.jar -t oct -s 256```: | |
| ``` | |
| Full key: | |
| { | |
| "kty": "oct", |
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
| Verifying my Blockstack ID is secured with the address 1MAULXVaW5vBYZKjj939cgpUoJdrpDuoNZ https://explorer.blockstack.org/address/1MAULXVaW5vBYZKjj939cgpUoJdrpDuoNZ |
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
| Set-WmiInstance -Namespace "root\SecurityCenter2" -Class AntivirusProduct -Argument @{displayName="CrowdStrike Falcon Sensor";instanceGuid="{8FE1C46C-23A5-9999-A73E-DAABB9E7B3CD}";pathToSignedProductExe="%ProgramFiles%\CrowdStrike\CSFalconController.exe";pathToSignedReportingExe="C:\Program Files\CrowdStrike\CSFalconService.exe";productState="266240";timestamp="Tue, 08 Feb 2022 15:42:15 GMT"} | |
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
| <!-- | |
| To force Tomcat to redirect and revert all requested HTTP traffic over to HTTPS, configure the `conf/web.xml` file with the below block. | |
| This should be placed at the very end of the file near and above the ending `</webapp>` tag: | |
| --> | |
| <security-constraint> | |
| <web-resource-collection> | |
| <web-resource-name>Automatic Forward to HTTPS/SSL | |
| </web-resource-name> | |
| <url-pattern>/*</url-pattern> | |
| </web-resource-collection> |
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
| #r "Newtonsoft.Json" | |
| #r "System.Formats.Asn1" | |
| using System.Formats.Asn1; | |
| using System.Net; | |
| using System.Security.Cryptography; | |
| using System.Security.Cryptography.X509Certificates; | |
| using Microsoft.AspNetCore.Mvc; | |
| using Microsoft.Extensions.Primitives; | |
| using Newtonsoft.Json; |
OlderNewer