- Detect secrets in code
- Identify secrets committed to version control
- Flag hardcoded credentials
- Identify missing authentication checks
- Detect improper authorization patterns
# whatsapp_server.py | |
import os | |
from typing import Annotated | |
from pydantic import Field, BeforeValidator | |
from pydantic_settings import BaseSettings, SettingsConfigDict | |
from twilio.rest import Client as TwilioClient | |
from twilio.base.exceptions import TwilioRestException |
This is free and unencumbered software released into the public domain. | |
Anyone is free to copy, modify, publish, use, compile, sell, or | |
distribute this software, either in source code form or as a compiled | |
binary, for any purpose, commercial or non-commercial, and by any | |
means. | |
In jurisdictions that recognize copyright laws, the author or authors | |
of this software dedicate any and all copyright interest in the | |
software to the public domain. We make this dedication for the benefit |
NOTE: An updated version is available over here: https://www.raphaelbauer.com/posts/due-diligence/
package bill.boottest; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import org.springframework.boot.CommandLineRunner; | |
import org.springframework.boot.SpringApplication; | |
import org.springframework.boot.autoconfigure.SpringBootApplication; | |
import org.springframework.cloud.aws.messaging.listener.annotation.SqsListener; | |
import com.fasterxml.jackson.annotation.JsonCreator; |
Picking the right architecture = Picking the right battles + Managing trade-offs
homeassistant: | |
# Name of the location where Home Assistant is running | |
name: [redacted] | |
# Location required to calculate the time the sun rises and sets | |
latitude: [redacted] | |
longitude: [redacted] | |
# C for Celcius, F for Fahrenheit | |
temperature_unit: C | |
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones | |
time_zone: America/Los_Angeles |
# -*- coding: utf-8 -*- | |
""" | |
Scrape a table from wikipedia using python. Allows for cells spanning multiple rows and/or columns. Outputs csv files for | |
each table | |
url: https://gist.github.com/wassname/5b10774dfcd61cdd3f28 | |
authors: panford, wassname, muzzled, Yossi | |
license: MIT | |
""" | |
from bs4 import BeautifulSoup |