Documentation ¶
Overview ¶
Tempest- Leveraging paste sites as a medium for discovery Copyright © 2023 ax-i-om <addressaxiom@pm.me>
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
Package handlers contains functions used throughout tempest
Index ¶
- func Deduplicate(filename string) error
- func FixName(str, substr string) string
- func GetRes(link string) (*http.Response, error)
- func LogErr(err error, msg string)
- func LogInfo(msg string)
- func SwapCheck(err error)
- func TrueRand(n int, chars string) string
- func Wipe()
- func Write(results []models.Entry)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Deduplicate ¶ added in v0.7.0
Deduplicate removes any duplicate lines from a string and writes the results to a cleaned file
func FixName ¶ added in v0.7.0
FixName cleans/appends an extension (substr) to a string (str) if necessary
func GetRes ¶
GetRes sends a request to a specified URL and returns and *http.Response and error that will be nil if successful.
func SwapCheck ¶ added in v0.7.0
func SwapCheck(err error)
SwapCheck will be used in the future to determine whether or not to swap to a new proxy will be migrated to an exported function, likely in internal to handle modular rate limiting
Types ¶
This section is empty.