#Oski’s cleaning script
1 messages · Page 1 of 1 (latest)
Please don't try to hide the source
@echo off
color F0
title Cleaner
echo would you like to clean up your space in your Windows Only yes/no
set /p gg=
if %gg%==yes goto cleaner
if %gg%==no goto exit
goto menu
:cleaner
del /s /f /q c:\windows\temp\*.*
del /s /f /q C:\WINDOWS\Prefetch
del /s /f /q %temp%\*.*
deltree /y c:\windows\tempor~1
deltree /y c:\windows\temp
deltree /y c:\windows\tmp
deltree /y c:\windows\ff*.tmp
deltree /y c:\windows\history
deltree /y c:\windows\cookies
deltree /y c:\windows\recent
deltree /y c:\windows\spool\printers
cls
echo.X=MsgBox("Done",0+0,"Succesfully Cleared windows!") >> done.vbs
start done.vbs
timeout 1
del love.vbs
cls
pause
:exit
What is the purpose of trying to hide the source code and only give an executable
What’s the point of trying to hide such a simple script too?
If you really want to hide the source use another language
Batch isn't meant for private source applications
You really can’t hide batch to exe
Even if you use some obfuscation algorithm for batch they’re all still simple
It’s quite literally the most simple script, there is nothing to hide. I’d understand if it was some complex thing but it’s not.
Ok?
Either way your code is now public
Don’t use batch if you want obfusticated code
It won’t boat very well
…
This server is corupted
Anyway
Put this code in your ass if you really need it
Ima move on
Dude it’s like a 20 line script calm down
Even if I were to delete it someone could come along and get the code with ease
I can’t even delete the message of a role higher then me
Go for it I guess
Ok ask me some more things I can’t do
He’s already been pinged by you replying to him
Like I said I can’t do nothing about it
Maybe try learning another language?
Python is good and easy to learn. It’s good for beginners
There aren’t too many languages with batch script like syntax
Our issue is will security, and people spreading malware
There are a bunch of tutorials
Do a quick google search you’ll find multiple methods to doing it
You can find a video
In this article
Go for it I guess
Give it one good guess
It’s just a file extension
PY is just an abbreviation for python
I said there was a video in the article
Try not to scope in to only videos for the record
Videos are typically out of date when compared to written material
As far as up to date information goes
That’s why tutorials exists
Search for one on YouTube if you’d like
Look at the video in the article
In this tutorial I'll show you how to easily convert your Python script (.py) into an executable file (.exe). The first way is using auto-py-to-exe and the second is PyInstaller.
⭐️ You can find more details about this video, in this guide I made: https://towardsdatascience.com/how-to-easily-convert-a-python-script-to-an-executable-file-exe-49...
That’s the video linked in the article which also goes in depth on how to convert a py to exe
There is also tons of results on the matter when doing a quick google search. Anyway good luck, try putting some effort in to learning the basics before you get tied up in py to exe
It’s a useless rabbit hole if you aren’t developing anything but simple scripts
I showed the source (which I ran on a sandbox first) for safety. We can't trust anyone, a bunch of people tried to spread malware here so we do it for security reasons.
It doesn't include any password/token/secret/license code so I don't think there's a big issue on sharing the source code of a 20 line script
If there was malware on this server and someone reported it, we could get in trouble, so we want to avoid all kind of issues @rain hinge
Hope you understand
What are you doing
Idk
i think i had once tried auto-py-to-exe, it creates really huge exe files. like a hello world program might be 8mb 💀 (i havent seen the video, just generally saying)
Well generally you shouldn't be converting a python script to an exe anyway