View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0008179 | Kali Linux | [All Projects] Kali Package Bug | public | 2023-02-15 03:46 | 2023-02-20 23:35 |
Reporter | tjnull | Assigned To | steev | ||
Priority | normal | Severity | trivial | Reproducibility | random |
Status | resolved | Resolution | fixed | ||
Product Version | kali-dev | ||||
Target Version | Fixed in Version | 2023.1 | |||
Summary | 0008179: Random '0' file gets created in the linux file system | ||||
Description | Steev wanted me to submit this bug for investigation. In the linux file system / a random file called "0" appeared on the system. The file contains 0 data No clue how the file was created or when it got made. Tried too see if any packages created but unfortunately I got 0 results. ``` ┌──(tjnull㉿conops)-[/] └─$ dpkg -S /0 dpkg-query: no path found matching pattern /0 ``` | ||||
|
Do you get this file "out of the box"? If so, how do you get your Kali, is is from the installer iso, or a VM image, or aonther way? Also, can you confirm that we're talking about Kali 2022.4? Maybe this file come from a bogus shell script. It's a common pitfall in Bash that if you do something like `if [ $err > 0 ]; then ...`, in fact you're actually redirecting $err to the file '0', the correct syntax is `if [[ $err > 0 ]]`, cf. https://mywiki.wooledge.org/BashPitfalls#A.5B.5B_.24foo_.3E_7_.5D.5D. Maybe that's what creates the file /0. |
|
This is fixed in wordlists 2023.1.2 - however, there is nothing in place to *remove* the current /0 if one exists. I didn't want to muck about in user's systems. |
Date Modified | Username | Field | Change |
---|---|---|---|
2023-02-15 03:46 | tjnull | New Issue | |
2023-02-15 04:13 | arnaudr | Note Added: 0017506 | |
2023-02-15 17:59 | daniruiz | Assigned To | => steev |
2023-02-15 17:59 | daniruiz | Status | new => assigned |
2023-02-20 23:35 | steev | Status | assigned => resolved |
2023-02-20 23:35 | steev | Resolution | open => fixed |
2023-02-20 23:35 | steev | Fixed in Version | => 2023.1 |
2023-02-20 23:35 | steev | Note Added: 0017543 |