-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathInfo.cs
More file actions
51 lines (45 loc) · 1.7 KB
/
Info.cs
File metadata and controls
51 lines (45 loc) · 1.7 KB
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
46
47
48
49
50
51
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SharpSQLTools.Domain
{
class Info
{
public static void ShowUsage()
{
ShowLogo();
ShowModuleUsage();
}
public static void ShowModuleUsage()
{
Console.WriteLine(@"
Module:
enable_xp_cmdshell - you know what it means
disable_xp_cmdshell - you know what it means
xp_cmdshell {cmd} - executes cmd using xp_cmdshell
enable_ole - you know what it means
disable_ole - you know what it means
sp_cmdshell {cmd} - executes cmd using sp_oacreate
upload {local} {remote} - upload a local file to a remote path (OLE required)
download {remote} {local} - download a remote file to a local path
exit - terminates the server process (and this session)"
);
}
public static void ShowLogo()
{
Console.WriteLine(@"
_____ _ _____ ____ _ _______ _
/ ____| | / ____|/ __ \| | |__ __| | |
| (___ | |__ __ _ _ __ _ __| (___ | | | | | | | ___ ___ | |___
\___ \| '_ \ / _` | '__| '_ \\___ \| | | | | | |/ _ \ / _ \| / __|
____) | | | | (_| | | | |_) |___) | |__| | |____| | (_) | (_) | \__ \
|_____/|_| |_|\__,_|_| | .__/_____/ \___\_\______|_|\___/ \___/|_|___/
| |
|_|
by Rcoil & Uknow
SharpSQLTools target username password
");
}
}
}