* In game name: ihaveamac
* Age (minimum 12 years): 14 (yes 14)
* Screenshot/world save/text file/anything that shows
that you know programming:
print("Recovery disk loaded by ihaveamac")
print("Checking for startup file on computer")
if fs.exists("startup") then
print("Startup file found")
print("Check or edit contents: c, Delete file: d, Cancel: e")
input = false --This was going to do something but I decided not to.
repeat
local e,a = os.pullEvent()
if e == "char" then
if a == "c" then
shell.run("edit", "startup")
print("Done editing startup file, exiting")
sleep(1)
os.shutdown()
elseif a == "d" then
fs.delete("startup")
print("Deleted startup, exiting")
sleep(1)
os.shutdown()
elseif a == "e" then
print("Exiting")
sleep(1)
os.shutdown()
end
end
until input
else
print("No startup file found on your computer, exiting recovery")
sleep(2)
os.shutdown()
end
A recovery program. Put it on a disk, call it startup, and you can recover a computer from a startup virus. In single player, you can just go to the save in .minecraft but in multiplayer it's a very useful tool. :smile.gif:
* Additional anything: I like the rednet feature, I use it quite a bit. I'm trying to make a messenger using 2 local computers. :smile.gif:
Also in the program, it says that "input" is false and the repeat loop waits for it to be true, but the script will shut down the computer before it ever finishes. I was just too lazy to change it so I left it like that. Still works as intended.
Oh, this happened when it crashed in my sandbox (Sandboxie FTW)
************** Exception Text **************
System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions
at System.Net.Sockets.Socket..ctor(AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType)
at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6, Int32 timeout)
at System.Net.PooledStream.Activate(Object owningObject, Boolean async, Int32 timeout, GeneralAsyncDelegate asyncCallback)
at System.Net.PooledStream.Activate(Object owningObject, GeneralAsyncDelegate asyncCallback)
at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout) at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint) at System.Net.Mail.SmtpTransport.GetConnection(ServicePoint servicePoint) at System.Net.Mail.SmtpClient.GetConnection() at System.Net.Mail.SmtpClient.Send(MailMessage message)
--- End of inner exception stack trace ---
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at MCStealer.Form1.Form1_Load(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
It should be worth mentioning it seems to be made in some .NET language since the crashing message was saying something about the .NET Framework. and an unhandled exception.
I made this, I posted this in the ComputerCraft topic. It's a t-flip-flop thing. Use with a button.
function clear()
term.clear()
term.setCursorPos(1, 1)
end
clear()
print "T-flip-flop mode. Use this with a button."
write "What side should receive power? "
inputside = read()
write "What side should send power? "
outputside = read()
clear()
print "T-flip-flop mode. Use this with a button."
print "Now ready! Press E to exit."
print("Input: "..inputside..", Output: "..outputside)
waiting = false
while true do
local event,attrib = os.pullEvent()
if event == "redstone" and not waiting and redstone.getInput(inputside) then
waiting = true
if redstone.getInput(outputside) then
redstone.setOutput(outputside, false)
print "The output is no longer powered!"
else
redstone.setOutput(outputside, true)
print "The output is now powered!"
end
sleep(0.9) --A button provides 0.9 seconds of power I think, not 1.
waiting = false
elseif event == "char" and attrib == "e" then
clear()
print "Exiting T-flip-flop mode."
print "Program by ihaveamac. :smile.gif:"
redstone.setOutput(outputside, false)
break
end
end
You can copy&paste into a file.
Basically when you power it, it will change the output to either on or off, depending on what it was before.
0
0
0
Ok, thanks. I'll come on after school.
0
Was I skipped? :huh.gif:
0
* Age (minimum 12 years): 14 (yes 14)
* Screenshot/world save/text file/anything that shows
that you know programming:
A recovery program. Put it on a disk, call it startup, and you can recover a computer from a startup virus. In single player, you can just go to the save in .minecraft but in multiplayer it's a very useful tool. :smile.gif:
Also in the program, it says that "input" is false and the repeat loop waits for it to be true, but the script will shut down the computer before it ever finishes. I was just too lazy to change it so I left it like that. Still works as intended.
0
0
0
0
System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions
at System.Net.Sockets.Socket..ctor(AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType)
at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6, Int32 timeout)
at System.Net.PooledStream.Activate(Object owningObject, Boolean async, Int32 timeout, GeneralAsyncDelegate asyncCallback)
at System.Net.PooledStream.Activate(Object owningObject, GeneralAsyncDelegate asyncCallback)
at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
at System.Net.Mail.SmtpTransport.GetConnection(ServicePoint servicePoint)
at System.Net.Mail.SmtpClient.GetConnection()
at System.Net.Mail.SmtpClient.Send(MailMessage message)
--- End of inner exception stack trace ---
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at MCStealer.Form1.Form1_Load(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
0
This is why I don't trust scans made by the creator of the software/mod/whatever, I would read other scans or scan it myself.
0
I saw the thread posted earlier. Someone fell for it, didn't they? D:
Or did I not read right?
0
0
0
Here's the report.
I still wouldn't run it though. Maybe put it in a sandbox with internet access disabled (like Sandboxie).
Also, the virus scan you did, the file is 12 bytes on viruschief, while the one I downloaded is 382 KB.
Edit: Malwarebytes' detected "SPYWARE.PASSWORDS.GEN".
0
Basically when you power it, it will change the output to either on or off, depending on what it was before.