See in action:
- VPN (Virtual Private Network): É um túnel criptografado que você estabelece entre seu dispositivo e um servidor na internet. Ele protege seus dados, esconde seu IP real e faz você parecer estar conectado de outro lugar.
- OpenVPN: É um protocolo (o motor da VPN) de código aberto e muito seguro, usado para construir esses túneis criptografados.
- Servidor de VPN: É o coração da rede, geralmente uma EC2 ou VPS rodando 24/7. Ele aceita as conexões e tem um endereço IP público fixo (muito importante para a segurança).
A segurança é ignorada na pressa, mas a maioria das vulnerabilidades vem dos mesmos erros. Veja o que mantém os apps SaaS modernos seguros, segundo o @cryptoviksant.
-
1. Revisão de Código por IA Pega a Maioria dos Problemas
- Ferramentas como o Coderabbit (IA) acham injeções SQL, credenciais expostas e falhas de autenticação.
- Exemplo: Uma IA achou uma falha que dobraria a cobrança de clientes, algo que o teste comum não viu.
-
2. Rate Limiting Detém Spam (e Economiza Grana)
-
Sem limite, o app toma golpe de milhares de cadastros falsos, o que custa em banda e e-mail.
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
| Create a semantic commit message in English following these guidelines: | |
| - Use git diff HEAD to analyze the changes | |
| - Format: emoji + type + colon + space + description | |
| - Types: feat, fix, docs, refactor, style, perf, config, remove | |
| - Emojis: ✨ feat, 🐛 fix, 📝 docs, ♻️ refactor, 🎨 style, ⚡ perf, 🔧 config, 🗑️ remove | |
| - First line: max 72 chars | |
| - If needed, add blank line then bullet list with details (use "- " prefix) | |
| - Use present tense ("add" not "added") | |
| - Be specific about what changed and why |
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
| [package] | |
| name = "ververust" | |
| version = "0.1.0" | |
| edition = "2024" | |
| [dependencies] | |
| win32-version-info = "0.3" | |
| [profile.release] | |
| opt-level = "z" |
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
| <script> | |
| // @ts-nocheck | |
| let isLogged = $state(false); | |
| let userName = $state(''); | |
| function handleSubmit(event) { | |
| event.preventDefault(); // Impede o envio tradicional | |
| // 1. Crie o objeto FormData a partir do elemento <form> |
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
| import random | |
| import time | |
| import pprint | |
| import json | |
| bp = json.load(open('bp.json')) | |
| def decode(i): | |
| l = [] | |
| [l.extend(o[1::2]) for o in i.split(':')] | |
| return l |
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
| import tkinter as tk | |
| from tkinter import ttk | |
| from tkinter import messagebox | |
| import base64 | |
| import gzip | |
| import json | |
| import re | |
| from typing import Any, Dict, Optional |
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
| scancode | valor | javascript_code | |
|---|---|---|---|
| SDL_SCANCODE_UNKNOWN | 0 | Unidentified | |
| SDL_SCANCODE_A | 4 | KeyA | |
| SDL_SCANCODE_B | 5 | KeyB | |
| SDL_SCANCODE_C | 6 | KeyC | |
| SDL_SCANCODE_D | 7 | KeyD | |
| SDL_SCANCODE_E | 8 | KeyE | |
| SDL_SCANCODE_F | 9 | KeyF | |
| SDL_SCANCODE_G | 10 | KeyG | |
| SDL_SCANCODE_H | 11 | KeyH |
NewerOlder