-
Notifications
You must be signed in to change notification settings - Fork 1
/
raven.bat
45 lines (36 loc) · 906 Bytes
/
raven.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
@echo off
echo Welcome to Raven!
set SESSION_BAT_URL=https://raw.githubusercontent.com/itzNightmare17/Raven/main/scripts/windows/session.bat
if [%1]==[] goto noargs
if [%1]==[--help] goto help
if [%1]==[session] goto session
if [%1]==[start] goto ravStart
goto invalidargs
:noargs
echo No arguments provided.
echo Use --help to see the list of arguments.
goto end
:help
echo Usage: ./raven [options]
echo Options:
echo --help: Show this help message
echo session: Generate a new session
echo start: Start the bot
goto end
:session
if exist scripts/windows/session.bat goto sessionStart
echo Fetching session generator from GitHub...
curl %SESSION_BAT_URL% -o scripts/windows/session.bat
goto sessionStart
goto end
:sessionStart
call scripts/windows/session.bat
goto end
:ravStart
call scripts/windows/startup.bat
goto end
:invalidargs
echo Invalid arguments provided.
goto end
:end
exit /b 1