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
#!/usr/bin/env python2 | |
from struct import pack, unpack | |
from cStringIO import StringIO | |
from socket import socket, AF_INET, SOCK_STREAM, SHUT_RDWR | |
from hashlib import md5 | |
from binascii import hexlify, unhexlify | |
from random import choice | |
from string import ascii_uppercase | |
import sys |
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
export const login = async (req: Request, res: Response): Promise<void> => { | |
try { | |
const { email, password } = req.body; | |
const userCredential = await signInWithEmailAndPassword(auth, email, password); | |
const token = await userCredential.user.getIdToken(); | |
const user = await prisma.user.findUnique({ | |
where: { | |
firebaseId: userCredential.user.uid |
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 socket | |
import sys | |
import threading | |
import subprocess | |
import time | |
banner = """ | |
._________________. | |
| VS-FTPD | | |
| D o S | |
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 { Button, buttonVariants } from '@/components/ui/button'; | |
import type { CalendarProps } from '@/components/ui/calendar'; | |
import { Input } from '@/components/ui/input'; | |
import { Popover, PopoverContent, PopoverTrigger } from '@/components/ui/popover'; | |
import { cn } from '@/lib/utils'; | |
import { add, format } from 'date-fns'; | |
import { type Locale, enUS } from 'date-fns/locale'; | |
import { Calendar as CalendarIcon, ChevronLeft, ChevronRight } from 'lucide-react'; | |
import { Clock } from 'lucide-react'; | |
import * as React from 'react'; |