Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
One of my Virtualbox VMs was running low on space so I decided to go and resize its hard drive.
The VM used a VMDK file, which I couldn't resize through VBox so I had to clone it first.
So I cloned the file to a VDI one, resized that one, booted on a gParted iso to resize the partition and booted the OS fine. That given I deleted the original VMDK (facepalm).
Now I started using my VM a bit more and noticed files and folders are not in the state I left them when I shut down the machine, but in a state they were several weeks ago.
I suppose something went wront because I had made a snapshot of that VM and was working on that snapshot, which didn't write to the HDD VMDK. I have one snapshot's file, a VMDK in my Snapshot folder.
So here are my questions :
- What happened exactly ?
- Does that snapshot VMDK still contain my up to date file or did I lose my work ?
- If the data is still there, how can I recover it ?
(Btw I'm runnning on a SSD drive so I don't think it's worth talking about recovering the deleted VMDK file.)
Okay it seems I was able to recover a file I wanted by using The Sleuth Kit on the snapshot VMDK.
So if anyone wonders, TSK tools can load a VMDK image using the -i afflib switch.
Related
Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 days ago.
Improve this question
I'm trying to find as many of my old original mp3 recordings as I can, after accidently deleting them and losing them by Cut/Pasting to a fake USB device. They're irreplaceable, so I've been trying various recovery software. So far, I've used DMDE, R-Studio, Recuva, UFS Explorer, Active Recovery, Photorec, Hetman NTFS Recovery and a few others. I've recovered probably 70% of the files, which is great, but there are more there.
Can anyone recommend a recovery software that's particularly good at carving mp3 and wav files?
Also, is there any way that I could have a program run through all the data in a disk image and try to playing, as though it was an mp3 files? In other words, assume everything was mp3 and save/write everything that had the characteristics of an audio file?
Thanks!
I also found a text file from mp3val which recorded the first 20-20 chars of some of my files and although UFS Explorer can find these signatures on my disk if I open the disk as hex, not a single program can find them, even from carving. Is there a program that will let me input the hex locations of this data and pull the objects they are part of? I was unable to find about this in my research, so far.
Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 months ago.
Improve this question
I have been looking for several days to find a solution to the title's problem. I had a virtual machine that was working fine for more than 3 years however it "broke down" and I decided to create a new one with the latest version of lubuntu for guest (I tried other distributions too of course). I deleted and recreated the vms more than 15 times!!! and tried every solution I found on the world wide web like installing vmtools reinstalling vmware changing usb compatibility from version 3 to version 2 etc. But nothing worked. Every time all usb devices were disabled and I couldnt enable them with right click. This thing is infuriating. Please tell me there is a way to fix it, I really dont want to switch to virtualbox.
Molte grazie!
For some inexplicable reason, VMware Player, from a certain version onwards, creates virtual machines with all USB ports disabled, even if the user does not select such option in the gui configuration wizard.
The aforementioned option can be changed only by editing the <vm_name>.vmx file, located in the same path as the VM.
That being said, all you need to do is change the value of this line:
usb.restrictions.defaultAllow = "FALSE"
from FALSE to TRUE.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
can somebody explain to me please:
1) Can a py file just by its mere "existence" on your hard drive (if not opening it), cause any kind of malicious harm for your computer system? And if your goal is only to see the content (text of code) of the file, how could you open it to be 100% sure it could not harm your system (for example by the standard text editor tool?)? Or can you only get to the content with Python specific programs?
2) If someone asks you to look at her python code, and wants to send you for this reason several py files - could opening such file harm your computer system/perform "malicious" actions (how?)?
Please take into account for your answer, these three different ways of how you would open the files:
a) you open with the program from python.org
b) you open with a IDE
And a third question:
3) What about the official program from python.org itself - does this program somehow open up your system to additional internet attack types, just by having it installed?
Finally,
4) Is it more secure in terms of online security, to interact with python programs on a separate computer and not the one you do everyday business?
Thanks community!
Q1: No, it's just a text file. So you can view it with any text editor
Q2. If you mean by "opening", viewing in text edit, see answer to Q1. If by opening, you mean executing the script, then the answer depends on what the script does
web services don't run on your local computer, so they can't harm it.
Q3. The answer is no, because python installed on your computer is dormant.
Q4: There are lots of thing you can do on your computer which can do damage. For instance, you could delete all your files in your file explorer. Surely you already have backups?
Python scripts are human readable which makes them a very ineffective place to put secret code which does nasty things.
I've never heard anyone put python anywhere in a list of security risks, but if you are worried, use virtual box and run it in a virtual machine. I do a lot of my python development in a virtual machine, but not to minimise security risks ... there are other advantages to VMs (such as ease of backup, ease of moving to another computer). The other advantage, if you are using Windows, is that you can use a Linux VM, such as Ubuntu, which is a better experience for modern development. I think because of this, Microsoft has actually made it easy to install Ubuntu directly into Windows, if you have a recent version on Windows 10, so that's another option (e.g. https://tutorials.ubuntu.com/tutorial/tutorial-ubuntu-on-windows#0)
I haven't look at web IDEs for a while. As long as they have interactive python debugging, they could be a good option. I had the impression that cloud 9, now an amazon offer, was the best one, last time I checked them out.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I'm using Stata on a remote desktop that doesn't have access to the Internet, and need to install a package. I want to download it to my hard-drive and manually install it while on the remote desktop, but I don't know where to download packages online. Any help is appreciated.
If you search google for ssc package_name usually a link for ideas.repec.org will come up and you can download all of the files manually from there.
(Estout example: https://ideas.repec.org/c/boc/bocode/s439301.html).
You will have to put these files in a directory that Stata looks for ado files in, you can find these directories using the command sysdir. I would recommend saving them to the personal folder.
Assuming that the question means that you wish to transfer commands available on the SSC from a machine with the internet to a machine without the internet, you could:
1: Copy the file from SSC using the ssc copy command on the PC connected to the internet. See the last example here:
ssc copy whitetst.ado
2: Load the resulting .ado file into your remote desktop (see here for info on where Stata will look for .ado files).
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
We just launched our product recently. It's been great, I couldn't have done it without StackOverflow. You guys have been great. Thank You.
So yeah, getting to the question -
What are the fundamental things that I should take care of in a production environment?
The kind of answers I'm looking for would be for example - run a cron job to take regular backup of your database etc..
Well besides a cronjob for backing up the database (make sure you save the old backup to avoid corruption) theres the user upload directory..
I suppose you can create an image of the upload path and files at any given interval that suits your site's activity.
Also I'd always make sure logfiles are maxed in size limit so you don't end up with 10 miles of text logs crammed in one file..
Security stuff tends to be overwhelming, however basically make sure the directories are chmod/chown properly. Probably want to avoid unwanted ssh access, so either use the iptables to make sure it's hard to get in, or atleast update your password from time to time..
I think this topic could go on for ages :-)
if your are using apache server then
this article ( http://www.devshed.com/c/a/Apache/Server-Limits-for-Apache-Security/ ) will be very usefull to you.
plus
Compress your graphics and use Django compressor application to reduce significant js/css
load ..
http://coderpriyu.blogspot.com/2011/12/django-compressing-cssjs-files-with.html