Disk Operating System (not Denial of Service attacks)

learn more… | top users | synonyms

9
votes
1answer
148 views

DOS printer text output has wrong characters on “new” computer

I'm trying to rescue an old DOS 6.2 application that originally ran on a 486 DX2 computer. I've moved the hard drive into a relatively newer Celeron 633, and everything seems to work fine except for ...
6
votes
4answers
2k views

Checking parameters in a DOS batch file

We have a batch file that takes parameters. We then read the value of the parameter using %1 for the first parameter. Question is: How can we check that %1 has a value?
4
votes
1answer
185 views

Windows server 2008, a very small DDoS is able to kill my server

So I have this i7 3.2Ghz 6-core dedicated server running Windows Server 2008, with a 1Gbps internet speed. Everything runs fine and nice, and the machine is strong enough to handle even up to 700 ...
4
votes
2answers
288 views

Virtualize MS-DOS desktop & copying the HDD verbatim

Here at work, we have one user with some specialized legacy software, the developer of which has gone "belly up"* a long time ago. When trying to copy the program to other systems (trying to check if ...
4
votes
5answers
3k views

Is it possible to connect a DOS pc to a windows 2003 domain

We are in the process of upgrading our domain from windows 2000 to windows 2003. We have a few old DOS machines that need to be able to access a share on a server on the domain. We are using MS Lan ...
3
votes
8answers
3k views

Best way to keep a MS DOS application alive? (Virtual MS DOS)

I have a good old DOS application which is still required to run. Unfortunately the PC is dying and needs to be replaced. The PC was running Windows 98 and the software was executed in a MS Dos ...
3
votes
5answers
5k views

FoxPro 2.6 DOS on Windows 7 64-bit

I support a company that has a very old, mission critical, FoxPro for DOS 2.6 (FPD) application. For variuos reasons the company didn't adapt/migrate their app, which, ironically, has been running ...
3
votes
1answer
234 views

Our FPD 2.6 application can't open files with long file names on SBS 2011

Our FoxPro for DOS 2.6 (FPD) application apparently is not able to see filenames longer than 8 characters when run on Windows XP Pro or Win 7 (32-bit) stations over Small Business Server 2011 running ...
2
votes
2answers
77 views

Will MX records with a longer TTL help mitigate effects of DoS attack?

We have our email hosted at Google Apps, and have our DNS servers for the domain setup at Namecheap. About a month ago our website went down (not a big deal, since it's most just a contact info ...
2
votes
4answers
6k views

How to create a yesterday date in a batch

copy \\server01\E$\LogFiles\IVR\bcR\??120428.* \\LBC\workgroup\cs\ftp\Team\bcR\ copy \\server02\E$\LogFiles\IVR\bcR\??120428.* \\LBC\workgroup\cs\ftp\Team\bcR\ copy ...
2
votes
5answers
4k views

How can I create multiple, numbered copies of a file in Windows?

I have a file named poll001.html, and need to create 100 copies that are named incrementally (i.e poll002.html, poll003.html...etc). I know this is stupid, but it is what boss-man wants. any ...
2
votes
4answers
4k views

How to make Server bootable CD?

I need to upgrade firmware in two RAID controllers on my Dell PowerEdge 1950 server running Win2008 64bit, this is required to be done from DOS because the driver gives me an error " You cannot ...
2
votes
1answer
538 views

Is there a & (BASH) equivalent for DOS Batch files?

I'm thinking not since that violates the principle of batching. So what are my options if I want to launch two apps in windows in one script.
2
votes
1answer
224 views

Saving windows command prompt history to a file

Is it possible to save DOS command prompt history to a file? I'm going to work in sqlplus and would like to save all commands that were used and executed in a log file. Example, I would like to ...
2
votes
1answer
108 views

How can I implement an ip whitelist to protect my server?

I'm going to start running a gameserver soon and I want a way to reduce the the damage of a denial of service attack. I want to make it so when someone joins the game their ip adress is added to a ...
2
votes
2answers
198 views

Monitor DoS attack with snmp [closed]

Is there any way to monitor DoS attacks with SNMP or any other software which based on Linux and could monitor router / switches and alert when a DoS attack is observed?
2
votes
1answer
167 views

SynFlood attack, spoofed IPs, syncookies mitigation

Due to a recent increase in SynFlood attacks on my company's systems i've been testing by Syn flooding the hosts myself to see how easy they are to disrupt, and the answer is 'quite easy'. By using a ...
2
votes
2answers
169 views

How Can I Create Multiple Files of a single file in multiple Directories?

Hello I am trying to create multiple copies of a single file in multiple directories? for example I have 6 folders with a single file in each folder named lp.html, How can I run a batch to create 100 ...
1
vote
6answers
268 views

Standardising on a single Windows Scripting Language

I wasn't quite sure whether this would be better on StackOverflow or not, feel free to move it if you think it's more appropriate there. Anyway on to the question... The Situation We currently ...
1
vote
4answers
14k views

How do you create a symbolic (hardlink) in CMD.exe

I need to do this without installing software... Any ideas? MSDOS (cmd.exe) on Windows XP
1
vote
1answer
157 views

linux backslash for dos

In linux I can use newlines in commands using the backslash in order to improve readability in shell scripts etc: ls -l \ --reverse \ --human-readable \ --full-time Is this possible in ...
1
vote
4answers
513 views

How long have “find” and “findstr” been in the windows CLI?

(I know this is a slightly silly question, but...) I've recently been made aware of "find" and "findstr", despite having been doing at least light admin on Windows XP since it came out. I was ...
1
vote
3answers
1k views

Is it possible to get Samba automatically convert linebreaks in files from dos to unix?

I have a shared over samba directory which i access from my windows development box. Problem is that when i create and edit files they are saved with dos linebreaks. Is there any way to configure ...
1
vote
4answers
591 views

Dos find command? [closed]

Are there any utility find commands that you can download and use in DOS which match the UNIX find command?
1
vote
2answers
26 views

blocking udp attack ip with iptables

I was trying to block an ip of ( network stresser tool - a ddos websites selling ddos bots by seconds online ) the first one i was trying to block with iptables : iptables -A INPUT -d 173.193.26.73 ...
1
vote
1answer
160 views

How do I change the prompt of Windows commandline permanently?

I use Prompt command to temporarily change the Windows command prompt's inline prefix. So instead of current directory, I choose it to display something like current time and the $ sign. But when I ...
1
vote
2answers
238 views

PHP web hosting: how to prevent clients to DOS/DDOS?

I'm providing a partial web hosting solution where my clients may upload and execute their own php scripts. Besides the security routine I'll have to check (off topic here) I would like to know ...
1
vote
1answer
677 views

How do I get out of FreeDOS and boot the system back up without a hard reboot? [closed]

I was running a diagnostic utility from Broadcom on my network hardware and it ran in FreeDOS. I've never used this before and I am unfamiliar with it. Now I am trying to avoid hitting the power ...
1
vote
2answers
2k views

If Service Exists Condition

How would you check is a service exists and if so do some operation?
1
vote
5answers
2k views

SMTP DOS attacks with malformed email addresses

We have the following setup: Redhat kernel 2.4.16 Sendmail 8.11.6 This is a very old, ~7 years, cobalt RaQ server and is not easily upgradeable. Currently, we are being hit by multiple IP addresses ...
1
vote
1answer
736 views

Flash ROM from USB drive with DOS?

My home server PC has a P4 processor. Windows seems unable to control the processor speed, so the processor heats up and the PC fan is running at full speed all day. The event log says there is a ...
1
vote
1answer
8k views

How to write a dos batch script to create a folder structure?

I would like to be able to have a dos batch script that I could utilize to create a specific folder structure below what ever directory I may be in at any given time. The specific folder structure ...
1
vote
2answers
2k views

Windows 2008 folder has lost all permissions, can't be deleted, edited or permissions changed

I was testing a batch file that used the following dos command rmdir test2 /s /q, this command failed part way through and now I seem to have folders that have no permissions. For example, in the ...
1
vote
1answer
40 views

iptables connection limit does not work on debian

I'm trying to set up some basic DOS protection. The following iptables rule works on a CentOS box but NOT on debian (wheezy). #limit the parallel http requests to 50 per class C sized network ...
1
vote
1answer
257 views

How to use MS DOS-defined aliases in Powershell

I have some aliases that are defined in MS Dos style, how can I invoke those from Powershell? When I type "alias" from Powershell prompt, I can see my aliases defined there but when I try to call them ...
1
vote
3answers
2k views

File server share access intermittent/slow/machine unstable: win2k8r2

I have a file server running Win2k8R2 on an older HP DL380G4. It has nothing set up on it other than file sharing. All drivers/firmware/updates installed. The file server is used as a dump for a bunch ...
1
vote
2answers
350 views

Using NGINX as a front end to a single IIS server on the same machine?

I have been using NGINX as a reverse proxy frontend to IIS 7.5 for a couple year on a production server that is directly exposed to the internet (e.g. no firewall, except the Windows 2008 built in ...
1
vote
1answer
398 views

Logging UDP flood DDOS attacks? [closed]

How do I log UDP flood DDOS attacks? Right now I am thinking about detecting if the server is receiving more than X megabytes per second for Y seconds, and then doing trafshow > logs.txt as root ...
1
vote
1answer
230 views

How to issue an rsh command in the background?

How to issue an rsh command to run in the background? Example: within a batch file i call rsh 10.1.1.2 -lroot /etc/rtcinst/myscript.ksh which runs on a remote unix machine. This script takes a ...
1
vote
2answers
847 views

DOS command for creation date file

I've been wondering, using this dos command for %a in (MyFile.txt) do set FileDate=%~ta Is there a way to have the full date from the day to the second? EDIT: For now I get : set ...
1
vote
1answer
660 views

What is the function in Windows similar to Inode in Linux?

Is there any commands which is same as the function inode in Linux. Any info will be helpful.
0
votes
13answers
28k views

Finding day of week in batch file? (Windows Server 2008)

I have a process I run from a batch file, and i only want to run it on a certain day of the week. Is it possible to get the day of week? All the example I found, somehow rely on "date /t" to return ...
0
votes
4answers
105 views

where i can get the ms dos alone [closed]

where i can get the ms dos alone ???
0
votes
7answers
4k views

Copying large file to removable media

Using WindowsXP-Pro, I'm trying to copy a largish file (~28 MB) on to an SD Card. The copy gets almost completed, when it fails and returns with this error: Cannot copy <filename> file: ...
0
votes
2answers
659 views

Windows 7 Custom Environment Variable Disappears

I am trying to set a custom environment variable in Windows 7, which needs to be done programmatically as it must be set on multiple computers. I have been testing one a single machine, but When I ...
0
votes
2answers
145 views

how to delete all files that begin with 'testcase-' on a windows server?

On a windows server, using a DOS command, how can I delete files in the current directoy that have the pattern like: testcase-234.html testcase-2322.html testcase-12.html i.e. files that begin ...
0
votes
2answers
430 views

Prevent scanning of the Apache's /default directory

I have two directories, under /var/www/vhosts: mydomain/ and default/. Files in default directory can be accessed using IP address of our server. I have checked Apache log and somebody is ...
0
votes
3answers
3k views

How to calculate the starting address of a partition from MBR

Given a MBR and the structure of MBR/partition table, how can you calculate the size and starting address of each partition? For clarification let's say I was given this- Answer: There are ...
0
votes
2answers
518 views

wsname logfile to a filename using mac address or hostname

I am using wsname to rename workstations as they are deployed. i have a \logfile switch which changes the default location of the wsname logfile to a folder on the C drive. I want to change this to a ...
0
votes
2answers
2k views

getting the last two tokens in batch script for command

I have a file name with fullpath and want to get the filename and the parent directory of the file.How can I parse this in batchscript? e.g for /f "tokens=4,5 delims=\" %%a in ...