Author Topic: Files vanishing  (Read 9722 times)

0 Members and 1 Guest are viewing this topic.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Files vanishing
« on: November 09, 2013, 06:10:11 pm »
Ok, what the hell did just happen, i was chatting on skype and suddenly the whole content of my desktop folder was....GONE! It isn't even in the trash bin or anywhere i can think of!
I am running an HDD recovery program atm, but HOW THE HELL can that happen!

I am using archlinux, yes, i am updating it on a regular basis!

I just hope i manage to recover my programming projects....... :(

Should I change my comp password/other passwords/whatever? Did i get hacked? D:
« Last Edit: November 09, 2013, 06:11:02 pm by Sorunome »

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline AssemblyBandit

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 374
  • Rating: +60/-1
  • ~AssemblyBandit~
    • View Profile
    • briandm82.com
Re: Files vanishing
« Reply #1 on: November 09, 2013, 06:21:59 pm »
Were you skyping with a russian hacker/spy? It happens to me all the time.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Files vanishing
« Reply #2 on: November 09, 2013, 06:27:18 pm »
no, i was skyping, text only i should add, with a friend in the netherlands :P

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55881
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Files vanishing
« Reply #3 on: November 09, 2013, 06:30:06 pm »
This sucks. I wonder if it's possible to get a virus or get hacked in Linux? If it's possible to access someone's computer remotely, maybe someone had your login info? Else, I can't think of anything, especially if just the desktop folder vanished. If it was many files, I would suspect hard drive-related issues.

Or maybe a security exploit in one of the software you used?
« Last Edit: November 09, 2013, 06:30:26 pm by DJ Omnimaga »

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Files vanishing
« Reply #4 on: November 09, 2013, 06:31:46 pm »
well, i have ssh running and a webserver (nginx), but both are actually secure. And my password is also a secure password, plus my router doesn't redirect port 22 to my comp.

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline SpiroH

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 721
  • Rating: +153/-23
    • View Profile
Re: Files vanishing
« Reply #5 on: November 09, 2013, 06:41:21 pm »
This is really very annoying! You need to make sure you are not using a hacked-skype version. I've heard of similar problems happening before, for instance here: http://community.skype.com/t5/Mac/Skype-on-Linux-hacked-major-security-flaw/td-p/1562675 .
Good luck with your hard drive recovery. :(

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55881
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Files vanishing
« Reply #6 on: November 09, 2013, 06:47:02 pm »
well, i have ssh running and a webserver (nginx), but both are actually secure. And my password is also a secure password, plus my router doesn't redirect port 22 to my comp.
Do you use this password elsewhere, though? A SMF admin's password was guessed on a different forum that was filled with exploits and since that admin used the same password on SMF too, the hacker followed him then stole a copy of the database and passwords.
« Last Edit: November 09, 2013, 06:47:15 pm by DJ Omnimaga »

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Files vanishing
« Reply #7 on: November 09, 2013, 06:52:00 pm »
well, i have ssh running and a webserver (nginx), but both are actually secure. And my password is also a secure password, plus my router doesn't redirect port 22 to my comp.
Do you use this password elsewhere, though? A SMF admin's password was guessed on a different forum that was filled with exploits and since that admin used the same password on SMF too, the hacker followed him then stole a copy of the database and passwords.
No, that is the only instant of that password.

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Files vanishing
« Reply #8 on: November 10, 2013, 08:22:46 am »
Ok, so I ran now file recovery, i still have to look through all the recovered files though, tones of them are trash anyways, like old browser cache etc.
EDIT: does somebody have/want to make such a prog?
Display all txt and h files in a folder after another, if i hit r it deletes it and if i hit n it keeps it? That way it would be far easier to look those files through
« Last Edit: November 10, 2013, 09:04:05 am by Sorunome »

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline SpiroH

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 721
  • Rating: +153/-23
    • View Profile
Re: Files vanishing
« Reply #9 on: November 10, 2013, 09:25:23 am »
well, i'm afraid there aren't, unfortunately, any free lunches out there! you'll need to either google for it or write your own (probably faster, i dunno). It may take a while but it may be worth it. keep being resilient and eventually you'll manage to recover the important stuff. I been there too (sort of, my brand new HD simply crashed - but only some of the disk sectors were damaged). i went 'crazy' for a couple of days. After the disaster i keep backing-up the important (programming) stuff much more often.

Offline Legimet

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +29/-0
    • View Profile
Re: Files vanishing
« Reply #10 on: November 10, 2013, 10:27:01 am »
Sorunome, check the log file auth.log for anything suspicious.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Files vanishing
« Reply #11 on: November 10, 2013, 11:11:01 am »
well, i'm afraid there aren't, unfortunately, any free lunches out there! you'll need to either google for it or write your own (probably faster, i dunno). It may take a while but it may be worth it. keep being resilient and eventually you'll manage to recover the important stuff. I been there too (sort of, my brand new HD simply crashed - but only some of the disk sectors were damaged). i went 'crazy' for a couple of days. After the disaster i keep backing-up the important (programming) stuff much more often.
nuuu, somebody want to make one for me as i already have like almost no time on the comp recently due to IRL stuff? (it'll be better in december)

Sorunome, check the log file auth.log for anything suspicious.
Doesn't exist over here O.O

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: Files vanishing
« Reply #12 on: November 10, 2013, 02:00:22 pm »
If someone finds or ends up making that kind of program, I wouldn't mind giving it a shot.
I had a 32gb drive (more than halfway full) corrupt on me about a year ago and there's still a huge "recovery" folder on my windows partition :P
« Last Edit: November 10, 2013, 02:01:28 pm by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue

Offline ben_g

  • Hey cool I can set a custom title now :)
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +125/-4
  • Asm noob
    • View Profile
    • Our programmer's team: GameCommandoSquad
Re: Files vanishing
« Reply #13 on: November 10, 2013, 02:09:26 pm »
I'll try to write a simple program like that, but I don't know yet if it'll work.

EDIT: I attached the program to my post. It is tested and worked, but as I wrote it as fast as possible, it could be a bit unstable, use at your own risk.

How to use it: First, fill in the extensions of the files you want to view in the textboxes (you can use up to 10 extensions, leave the ones you aren't using blank).
Then, use the file shooser to select the directory in which you want to look for files.
When you click open on the file shooser, the window will close and a new window will open, which displays the name of the first file with a correct extension, with the options to keep or delete it. Keep moves on to the next file, delete deletes it and moves on to the next one after that. Once it has reached the last file, the program will exit.

EDIT2: I have updated the program. It now looks trough 1 level of subfolders and it prints the first 50 lines of each file in the console.
« Last Edit: November 10, 2013, 05:01:14 pm by ben_g »
My projects
 - The Lost Survivors (Unreal Engine) ACTIVE [GameCommandoSquad main project]
 - Oxo, with single-calc multiplayer and AI (axe) RELEASED (screenshot) (topic)
 - An android version of oxo (java)  ACTIVE
 - A 3D collision detection library (axe) RELEASED! (topic)(screenshot)(more recent screenshot)(screenshot of it being used in a tilemapper)
Spoiler For inactive:
- A first person shooter with a polygon-based 3d engine. (z80, will probably be recoded in axe using GLib) ON HOLD (screenshot)
 - A java MORPG. (pc) DEEP COMA(read more)(screenshot)
 - a minecraft game in axe DEAD (source code available)
 - a 3D racing game (axe) ON HOLD (outdated screenshot of asm version)

This signature was last updated on 20/04/2015 and may be outdated

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: Files vanishing
« Reply #14 on: November 10, 2013, 03:35:03 pm »
would something like this work

Code: [Select]
import os, sys, glob, shutil

dest='/home/'#leave trailing / or it will break

for f in glob.glob("*.h"):
keep=input("Do you want to keep "+f)
if keep=='r' or keep=='n':
os.remove(f)
else if keep='k' or keep=='y':
shutil.copy(f,dest+f)
else:
print("You need to use a valid command y/k keep or r/n remove")
I haven't tested it yet so I make no promise about it working
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y