mirror of
https://github.com/FuzzingLabs/fuzzforge_ai.git
synced 2026-08-18 14:07:15 +02:00
Initial commit
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
# Database configuration with sensitive information
|
||||
production:
|
||||
adapter: postgresql
|
||||
host: production-db.example.com
|
||||
port: 5432
|
||||
database: production_database
|
||||
username: postgres
|
||||
password: ProductionPassword123!
|
||||
pool: 10
|
||||
|
||||
staging:
|
||||
adapter: mysql
|
||||
host: staging-db.example.com
|
||||
port: 3306
|
||||
database: staging_database
|
||||
username: root
|
||||
password: StagingPassword456!
|
||||
|
||||
development:
|
||||
adapter: sqlite3
|
||||
database: db/development.sqlite3
|
||||
|
||||
# Redis configuration
|
||||
redis:
|
||||
host: redis.example.com
|
||||
port: 6379
|
||||
password: RedisPassword789!
|
||||
db: 0
|
||||
|
||||
# MongoDB configuration
|
||||
mongodb:
|
||||
connection_string: mongodb://admin:MongoAdminPass@mongo.example.com:27017/admin
|
||||
database: myapp_production
|
||||
|
||||
# Elasticsearch
|
||||
elasticsearch:
|
||||
host: elastic.example.com
|
||||
port: 9200
|
||||
username: elastic
|
||||
password: ElasticPassword321!
|
||||
|
||||
# API endpoints with keys
|
||||
external_apis:
|
||||
payment_gateway:
|
||||
url: https://api.payment.com
|
||||
api_key: pk_live_1234567890abcdefghijklmnop
|
||||
secret_key: sk_live_0987654321zyxwvutsrqponmlk
|
||||
|
||||
email_service:
|
||||
smtp_host: smtp.sendgrid.net
|
||||
smtp_port: 587
|
||||
username: apikey
|
||||
password: SG.1234567890.abcdefghijklmnopqrstuvwxyz-1234567890
|
||||
|
||||
sms_service:
|
||||
account_sid: AC1234567890abcdefghijklmnopqrstuv
|
||||
auth_token: 1234567890abcdefghijklmnopqrstuvw
|
||||
phone_number: "+1234567890"
|
||||
@@ -0,0 +1,55 @@
|
||||
"""
|
||||
Application settings with sensitive configuration
|
||||
"""
|
||||
# Copyright (c) 2025 FuzzingLabs
|
||||
#
|
||||
# Licensed under the Business Source License 1.1 (BSL). See the LICENSE file
|
||||
# at the root of this repository for details.
|
||||
#
|
||||
# After the Change Date (four years from publication), this version of the
|
||||
# Licensed Work will be made available under the Apache License, Version 2.0.
|
||||
# See the LICENSE-APACHE file or http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Additional attribution and requirements are provided in the NOTICE file.
|
||||
|
||||
|
||||
# Database configuration with passwords
|
||||
DATABASE_CONFIG = {
|
||||
'host': 'db.production.internal',
|
||||
'port': 5432,
|
||||
'username': 'postgres',
|
||||
'password': 'postgres_password_123', # Hardcoded password
|
||||
'database': 'production_db'
|
||||
}
|
||||
|
||||
# API Keys and tokens
|
||||
GITHUB_TOKEN = "ghp_1234567890abcdef1234567890abcdef123456"
|
||||
GITLAB_TOKEN = "glpat-1234567890abcdefghij"
|
||||
SLACK_WEBHOOK = "https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXX"
|
||||
SENDGRID_API_KEY = "SG.1234567890.abcdefghijklmnopqrstuvwxyz"
|
||||
|
||||
# OAuth credentials
|
||||
OAUTH_CLIENT_ID = "1234567890-abcdefghijklmnopqrstuvwxyz.apps.googleusercontent.com"
|
||||
OAUTH_CLIENT_SECRET = "GOCSPX-1234567890abcdefghijklmn"
|
||||
|
||||
# Encryption keys
|
||||
ENCRYPTION_KEY = "ThisIsAVerySecretEncryptionKey123!"
|
||||
JWT_SECRET = "super_secret_jwt_key_do_not_share"
|
||||
|
||||
# Cloud provider credentials
|
||||
AZURE_STORAGE_KEY = "DefaultEndpointsProtocol=https;AccountName=storage;AccountKey=1234567890abcdefghijklmnopqrstuvwxyz==;EndpointSuffix=core.windows.net"
|
||||
GCP_SERVICE_ACCOUNT = {
|
||||
"type": "service_account",
|
||||
"project_id": "my-project",
|
||||
"private_key": "-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkq...fake...key\n-----END PRIVATE KEY-----",
|
||||
"client_email": "service@project.iam.gserviceaccount.com"
|
||||
}
|
||||
|
||||
# Payment provider keys
|
||||
PAYPAL_CLIENT_ID = "AZDxjDScFpQtjWTOUtWKbyN_bDt4OgqaF4eYXlewfBP4-8aqX3PiV8e1GWU6liB2CUXlkA59kJXE7M6R"
|
||||
PAYPAL_CLIENT_SECRET = "EGnHDxD_qRPdaLdZz8iCr8N7_MzF-YHPTkjs6NKYQvQSBngp4PTTVWkPZRbL"
|
||||
|
||||
# Dangerous configuration
|
||||
DEBUG = True # Debug mode enabled in production
|
||||
ALLOW_ALL_ORIGINS = "*" # CORS vulnerability
|
||||
USE_SSL = False # SSL disabled
|
||||
Reference in New Issue
Block a user