Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 2 years ago.
Improve this question
I had issues cloning a git repo and it turned out that my copy of Windows 10 has issues with filenames that begin with cookies.
To check whether this is just a local issue can somebody with Windows 10 check this by doing the following:
Use cmd to open the command prompt.
cd to your Desktop.
echo . > cookies
Try to open the file in either VSCode or Wordpad.
For me VSCode reports Unable to open 'cookies': Unable to read file and Wordpad reports Access to \path\cookies was denied.
I suspect this was some kind of unidentified rootkit that was locking all files that had names starting with cookies... it is too much of a coincidence that this was only happening with files that could allow an attacker to clone my browser sessions (so they would be logged in as me on all the sites I am).
Incidentally, it worked fine in safe mode but no virus scanners (running inside and outside the OS) could see it.
Ultimately I decided to reinstall the OS to fix the issue.
Related
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 months ago.
Improve this question
I've ran into a problem when trying to use an installed Linux bash shell instead of my Windows command prompt. I can't get my computer files to show on my Ubuntu terminal, even though when I repeat the same actions on my windows command prompt they seem to work.
I'm thinking there must be an issue with my installation, possibly I need to do a few more steps to get it to work like my regular command prompt terminal, but I'm not sure how to do this currently. I've added some screenshots above for additional context of me not finding my files in Ubuntu but being able to find them through windows command prompt.
It's because your linux home directory is most likely located outside of your windows user's home directory.
Use windows search to look for one of your ubuntu files (for example git_101) to determine where is your ubuntu home directory in relation to windows file system.
This can vary depending on how you installed ubuntu, but you might be able to access your windows filesystem via the /mnt directory as well. You can check that by running ls -lah /mnt.
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.
The community reviewed whether to reopen this question 10 months ago and left it closed:
Original close reason(s) were not resolved
Improve this question
I have enabled developer mode and installed Bash on Ubuntu on Windows.
My home directory can be found under %localappdata%\Lxss\home\<ubuntu.username>\, i have created a sub-directory called Pictures such that the full path should be
on windows: C:\Users\<windows.username>\AppData\Local\lxss\home\<ubuntu.username>\Pictures
on bash: /home/<ubuntu.username>/Pictures
if i create a file from bash using the command touch hello.txt i can freely see this file in the windows UI and copy it to my Desktop. However, if i create a new text file from the windows UI and save it in C:\Users\<windows.username>\AppData\Local\lxss\home\<ubuntu.username>\Pictures, even if i restart bash or windows, the file is not visible when i do ls -l.
Why can't bash see files created from the Windows side in it's own home directory?
EDIT Using /mnt/c is not a solution, i am trying to understand why it doesn't see those files and if there is a remedy to that so that it will be able to see UI created files, rather than trying to use the terminal to copy-paste or move files over.
You should be able to access your windows system under the /mnt directory. For example inside of bash, use this to get to your pictures directory:
cd /mnt/c/Users/<windows.username>/Pictures
You should only access Linux files system (those located in lxss folder) from inside WSL; DO NOT create/modify any files in lxss folder in Windows - it's dangerous and WSL will not see these files.
Files can be shared between WSL and Windows, though; put the file outside of lxss folder. You can access them via drvFS (/mnt) such as /mnt/c/Users/yourusername/files within WSL. These files stay synced between WSL and Windows.
For details and why, see:
https://blogs.msdn.microsoft.com/commandline/2016/11/17/do-not-change-linux-files-using-windows-apps-and-tools/
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 9 years ago.
Improve this question
I installed Windows 7 Ultimate on a machine. I turned on IIS using turn windows features on or off. See below:
But I can't start IIS! If I type IIS manager in search window, I don't get any result. If I browse to administrative tool, IIS is not there! See below:
I have also rebooted several times. Please help.
Also did iisreset.
C:\Windows\system32>iisreset
Attempting stop...
Internet services successfully stopped
Attempting start...
Internet services successfully restarted
C:\Windows\system32>
There is no iis.msc under c:\windows\system32\inetsrv
C:\Windows\System32\inetsrv>dir *.msc
Volume in drive C has no label.
Volume Serial Number is BA56-4174
Directory of C:\Windows\System32\inetsrv
File Not Found
Fixed it. Hadn't turned on IIS->Web Management Tools -> IIS Management Console.
I can't write comments yet :( - so sorry its in an answer space.
if you open up a dos shell, and type iisreset, does anything happen? I ask to see if IIS is infact running. Either way, try uninstalling then reinstalling IIS.
If you want we can chat in a chat room on here....
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 10 years ago.
Improve this question
I'm using CentOS 5.5 and I'm trying to remotely modify file of an OpenVMS server. I tried with scp but I got an error about an "unexpected newline".
I tried to find the solution to this but I haven't found it yet.
Then I tried with sftp and I succeded but only in my openvms home directory. I don't know how to reach other folders.
For example :
vim sftp://myLogin#myServer//sys\$user/myLogin/test.txt
will successfully open the file test.txt in my openvms home directory.
What I would like to achieve is to modify the file test.txt in this directory for example : OpenVMSHomeDirectory.xxx.yyy
Does anybody know a way to do this ? I fail to find how to reach my file to edit it.
Thank you.
The OpenSSH sftp client that you are probably using supports the quite Unix centric version 3 of the protocol. Try with a client supporting a later version as lftp, WinSCP or FileZilla.
If I recall correctly, OpenVMS SFTP server converts the VMS file paths into some more Unix friendly format (i.e. using / as the directory separator) when talking to a v3 client.
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
I am new to Linux. I am interested in security too. I got to know from one of my friend that it is possible to get into root shell after login as a normal desktop user. I don't know how to do it. I only know its possible after exploiting some services.
When I search for the above topic, I come to that, first we need to find out SUID files, which are the executable files having special permissions. I used 'find / -perm +4000' command to get such files list.
I don know what to do after that and get into root shell. I need to find out such issues in my OS and need to patch it. Could you please help me?
After you get your list of root suid programs (this is just one of many starting points when trying to get root on a system) you have to find if any of them are vulnerable to buffer overflows (you can start searching the CVE database for their names) and get a shell payload to be executed when the hole is exploited (so you can get a root shell).
There are many resources on the topic and by googling for "buffer overflow" you'll get to them.
There's no generic way to do this; it depends on what vulnerabilities exist on the system you've logged into, and that can vary from machine to machine. You need to look at what version of the OS is running, what vulnerabilities are known in that OS version, and which patches haven't been installed on the machine in question.