python: How to Store output of an OS call to a variable?
>>> import os >>> os.system("ping google.com") PING google.com (216.58.222.78) 56(84) bytes of data. 64 bytes from rio01s15-in-f14.1e100.net (216.58.222.78): icmp_seq=1 ttl=56 time=111 ms 64 bytes from rio01s15-in-f14.1e100.net (216.58.222.78): icmp_seq=2 ttl=56 time=111 ms --- google.com ping stati...
Boot into VHD on hard disk from a USB stick
I have Windows XP installed in my PC. I also have Win 7 (Ultimate) installed on a VHD. The VHD is on the hard disk in my PC. I wish to boot into the VHD (Win 7 Ultimate) from a USB stick. I do not wish to mess with the booting of my PC and hence the USB stock. I have a bootable USB stick and I used ...
How can I keep a hacker out?
You're going to have to figure out where he's getting the information from. If it's as simple as knowing the answers to your password recovery questions, for example, then just change them.In fact change any & all passwords he may know, or know the recovery answers for, & make sure his email address...
menu of gedit on Ubuntu 16.04
Where is the menu of gedit? It doesn't show up. Also, as you can see on this image the buttons are gone: There are only two buttons here (you can see the "open" button on the image and the "save" button is on the right, which I haven't captured on the image) How can I search for strings now? Edit 1:...
Delete old bootmgr file
I'm trying to remove a directory containing Windows 10 installation files as taken from the ISO image. BOOTMGR refuses to be removed, claiming I need administrator privileges, yet I am logged in as an administrator at the time. I have tried in safe mode (which allowed me to remove all other files in...
Apache and uploading files
I have Apache 2.4.20 on Ubuntu 16.04 and I would like to handle two scenarios: 1) a file gets uploaded to Apache by POST request. How can I categorize that file according to MIME content and then, have Apache save that under a custom directory? Note that the file won't get uploaded to https://myserv...
powershell or netcat over ADSL
is there anyway to use powershell for getting access to my office pc from home via my RDP Server i have 2 pc's : i want to control my office pc using powershell help me please im Tired of searching without any success ... or if there is any solution for this process with netcat This would be easier ...
Tail a log file with today`s date
So i am trying to come up with a command to tail a log file with todays date. The log file gets updated everyday with the current date. As the number of lines for the log for any particular day can vary from 2 lines to 20, so i want to tail all the results of the log file from todays date. Just to a...
How to configure active directory in windows 7?
I just installed Remote Server Administrative Tools (RSAT) on windows 7, and tu ed features on as mentioned in the installation guide. Now the Administrative Tools have been installed and successfully listed in the All Programs list of start menu. I want to set up a local network. I want to create u...
no reply from terado server
I am trying to implement miredo tu eling in my Ubuntu machine.i setup everything.But i am not getting teredo interface.When i am checking the miredo service status systemctl status miredo.service ● miredo.service - Teredo IPv6 tu eling Loaded: loaded (/lib/systemd/system/miredo.service; enabled; ven...
Extract Microsoft exe
I would like to extract the files from VC_redist.x64.exe. I tried using 7-Zip, but it only gave me files like this: 0 u10 u13 u16 u19 u21 u24 u27 u3 u4 u7 u0 u11 u14 u17 u2 u22 u25 u28 u30 u5 u8 u1 u12 u15 u18 u20 u23 u26 u29 u31 u6 u9 I know this archive contains DLL files, is it possible to extrac...
What Slot Is This?
My fast/gut feeling is that it is a Compaq Presario 3020 slot, or something similar (e.g., "Compaq Riser Card slot). I'm not saying this as a smart-alek. There might not be a better answer that many technicians know. I believe the Riser Card slots were not very heavily standardized, so it might even...
Excel/Google Sheets: How to have a conditional multiplier
I have a multisheet that I need to do the following: If 'UserInput'!A9=1, multiply the following formula's output by 1.5: 'Data'!A1*(('Data'!A2*'Data'!A3)+'Data'!A4) [The sheet and cell names aren't particularly relevant.] In other words, how could I add a conditional multiplier to an already-existi...
Mounting virtual USB storage device for use in VMs
I am looking for ways to mount a virtual USB storage device (containing some of my files) to several VMs (ru ing Windows 7 and XP) on VMware. So far, I have tried using ImDisk. ImDisk is capable of creating virtual disk drives but VMware does not recognise it as a USB device. Are there any other way...