Discover gists
| """JSON serializer for Elasticsearch Python client that | |
| uses the 'orjson' library for performance. | |
| https://github.com/ijl/orjson | |
| """ | |
| # Implement the Serializer.loads() and .dumps() APIs w/ orjson: | |
| import orjson | |
| from elasticsearch import SerializationError, JSONSerializer |
| package main | |
| import ( | |
| "net/http" | |
| "strconv" | |
| "github.com/gin-gonic/gin" | |
| "github.com/jinzhu/gorm" | |
| _ "github.com/jinzhu/gorm/dialects/mysql" | |
| ) |
Build remi-php 8.2.35 for CentOS 7 (el7)
DiSCLAIMER! No warranty! Use at your own risk! Remi officially doesn't support el7 distributions now!
- Get source RPM:
wget https://rpms.remirepo.net/SRPMS/php82-php-8.2.35-1.remi.src.rpm
| <?xml version="1.0" encoding="utf-8"?> | |
| <registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
| <user>S-1-5-21-4010432545-2485811193-966787038-1000</user> | |
| <keys> | |
| <key installerType="Msi" displayName="SquirrelDisk" displayVersion="0.3.4"> | |
| <RegistryView>Registry64</RegistryView> | |
| <KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B9875F98-0F9E-42DB-9A57-279AA8A90CC1}</KeyPath> | |
| <DefaultValue /> | |
| <InstallLocation><![CDATA[C:\Program Files\SquirrelDisk\]]></InstallLocation> | |
| <UninstallString><![CDATA[MsiExec.exe /X{B9875F98-0F9E-42DB-9A57-279AA8A90CC1}]]></UninstallString> |
As a security professional, it is important to conduct a thorough reconnaissance. With the increasing use of APIs nowadays, it has become paramount to keep access tokens and other API-related secrets secure in order to prevent leaks. However, despite technological advances, human error remains a factor, and many developers still unknowingly hardcode their API secrets into source code and commit them to public repositories. GitHub, being a widely popular platform for public code repositories, may inadvertently host such leaked secrets. To help identify these vulnerabilities, I have created a comprehensive search list using powerful search syntax that enables the search of thousands of leaked keys and secrets in a single search.
(path:*.{File_extension1} OR path:*.{File_extension-N}) AND ({Keyname1} OR {Keyname-N}) AND (({Signature/pattern1} OR {Signature/pattern-N}) AND ({PlatformTag1} OR {PlatformTag-N}))
**1.
| ### How to install github desktop on ubuntu: | |
| ## download .deb file: | |
| sudo wget https://github.com/shiftkey/desktop/releases/download/release-3.2.0-linux1/GitHubDesktop-linux-3.2.0-linux1.deb | |
| ## gdebi: | |
| # sudo apt install gdebi-core -y | |
| # sudo gdebi GitHubDesktop-linux-3.2.0-linux1.deb | |
| ## dpkg: | |
| sudo dpkg -i GitHubDesktop-linux-3.2.0-linux1.deb |
