topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday May 26, 2022, 12:53 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Byte [ switch to compact view ]

Pages: [1]
1
I need a way to automatically place a dynamic stamp onto a document when it is printed to the default printer.  The dynamic stamp would include the current date and time of printing (the dynamic aspect) and also include some static text, something along the lines of "This document expires 8 hours after the date and time listed."  Customizable text here would be sweet.

This needs to work with any printed document type, be it .TXT, .PDF or whatever, and this stamp must appear on every printed page.

All of the programs I have found seem to allow dynamic stamping but require the document be stamped and then saved prior to being printed.  In other words, sure I can place a dynamic date and time stamp on a batch of .PDF's and save them in one sitting, but then they will have the date and time on them from the stamping session instead of an "on the fly" stamp with the current date and time at the moment of printing, as is needed.

Thank you for your consideration, and any input would be greatly appreciated.

--Byte

2
I have a scale.  This scale weighs an item and after both a button is pressed and a stable weight is determined, that weight can be sent via RS-232 to a Windows 7 workstation.  It communicates well with HyperTerminal, however I can't collect the weights into a table or form using HT.  Also, the output from the balance is right-aligned with empty characters (spaces?) and contains the unit of weight (in this case, "g" for grams).

What I would like to see is a program hiding in the system tray which will read the serial data and strip out the empty characters as well as the unit of weight (no matter what letter or letters), passing along only the numerical values to an empty field in the Windows environment.  An example of an empty field would be Notepad or Excel - anywhere the cursor will place text.  Also requested is the ability to choose whether to place a carriage return & line feed and/or tab value after the data is sent, as well as the typically configurable serial port stuff.

I could really use something like this in the next week...  I hope this sounds easy enough for someone to take on, or if someone knows of something like this which is currently available please point me in the right direction.

Thanks!

3
I'm curious if anyone can whip up a quick program to control 4 electronic relays via either an RS-232 serial port or a parallel port.  I know, you are likely wondering who in the heck uses COM or LTP ports anymore, right?  The quick answer is, I would like to!

The idea is for me to build and be able to control an outdoors camera mount, so it may tilt up, tilt down, pan left and pan right.  I would love for the control to be done via web interface accessible from anywhere on the 'net, however I would be plenty happy with four clickable buttons in a window.

My thoughts are that one button in the program would control one relay each.  Each relay could be controlled just by toggling one pin in the serial or parallel port high in relation to ground when a button is clicked on, maintain the pin toggled high while the button remains clicked, and then return that pin to 0v when the button is no longer being clicked, that would work.

Electronically, I'd like to keep this project as simple as possible.  By toggling one pin high, I was thinking I could use a power supply and a few transistors between the serial port pins and the relays, to provide and control the voltage used to drive the relays.

My idea is to implement a camera for my community watch along a tree line with a foot path carrying suspect foot traffic.  Pan and tilt would be awesome to include but aren't exactly necessary, so if this can't be done quickly and easily, no worries.

Since we're a not-for-profit group we cannot really afford nifty wireless IP cameras nor any other equipment I would love to see deployed, however I do have a spare sony 1/3 inch CCD camera on hand, along with electronic and mechanical components to whip up both the control and pan/tilt unit.  I will be donating the home brew electronics hardware to the community watch.  If you could dontate the software to toggle some serial port pins high and low, and maybe integrate a web based interface, we would all be thankful.

4
                        National Cyber Alert System

                  Technical Cyber Security Alert TA07-089A


Microsoft Windows ANI header stack buffer overflow

   Original release date: March 30, 2007
   Last revised: --
   Source: US-CERT


Systems Affected

   Microsoft Windows 2000, XP, Server 2003, and Vista are affected.
   Applications that provide attack vectors include:

     * Microsoft Internet Explorer
     * Microsoft Outlook
     * Microsoft Outlook Express
     * Microsoft Windows Mail
     * Microsoft Windows Explorer


Overview

   An unpatched buffer overflow vulnerability in the way Microsoft
   Windows handles animated cursor files is actively being exploited.


I. Description

   A stack buffer overflow exists in the code that Microsoft Windows
   uses to processes animated cursor files. Specifically, Microsoft
   Windows fails to properly validate the size of an animated cursor
   file header supplied in animated cursor files.

   Animated cursor files can be included with HTML files. For
   instance, a web site can use an animated cursor file to specify the
   icon that the mouse pointer should use when hovering over a
   hyperlink. Because of this, malicious web pages and HTML email
   messages can be used to exploit this vulnerability. In addition,
   animated cursor files are automatically parsed by Windows Explorer
   when the containing folder is opened or the file is used as a
   cursor. Because of this, opening a folder that contains a specially
   crafted animated cursor file will also trigger this vulnerability.

   Note that Windows Explorer will process animated cursor files with
   several different file extensions, such as .ani, .cur, or .ico.
   Furthermore, Windows will automatically render animated cursor
   files referenced by HTML documents regardless of the animated
   cursor file extension.

   This vulnerability is actively being exploited.

   More information is available in Vulnerability Note VU#191609.


II. Impact

   A remote, unauthenticated attacker may be able to execute arbitrary
   code. Exploitation may occur when a user clicks a malicious link,
   reads or forwards a specially crafted HTML email, or accesses a
   folder containing a malicious animated cursor file.


III. Solution

   Until a fix is available, refer to the Solution section of
   Vulnerability Note VU#191609 for the latest workarounds.


IV. References

     * Vulnerability Note VU#191609 -
       <http://www.kb.cert.org/vuls/id/191609>

     * Microsoft Security Advisory (935423) -
       <http://www.microsoft.com/technet/security/advisory/935423.mspx>

     * Unpatched Drive-By Exploit Found On The Web -
       <http://www.avertlabs.com/research/blog/?p=230>

     * TROJ_ANICHMOO.AX - Description and Solution -
       <http://www.trendmicro.com/vinfo/virusencyclo/default5.asp?VName=TROJ%5FANICMOO%2EAX>


 ____________________________________________________________________

   The most recent version of this document can be found at:

     <http://www.us-cert.gov/cas/techalerts/TA07-089A.html>


edit by jgpaiva: making links clickable

5
General Software Discussion / New Mozilla CERT Vulnerability Alerts
« on: December 21, 2006, 10:17 AM »
Please check out the following link.

http://www.us-cert.g...lerts/TA06-354A.html

For instructions on subscribing to or unsubscribing from the CERT mailing list, please visit:

http://www.us-cert.gov/cas/signup.html

6
Post New Requests Here / IDEA: Alarm Clock which plays music files
« on: August 15, 2006, 02:11 AM »
My idea: A simple GUI or CLI alarm clock, which plays either .mp3 or .wav files for the alarm.  The user would have to supply the music file.  Its use would be to wake someone up to the music of their choice, after a night's worth of "restful" sleep.  Naturally, this would require leaving their bedside computer on all night, or sleeping in front of their computer.

Features would need to include a snooze button (either a button in a GUI, or a specific key such as the spacebar in a CLI version), and the alarm clock program must play the music file repeatedly until either the snooze button is hit (9 minutes would rock for a snooze time), or until the program is terminated.

The ability to use it on any version of Windows would definitely be a plus, for fairly wide-spread compatibility and use.  Not everyone uses XP these days...

I almost forgot - the ability to specify the time at which the alarm goes off would also be needed.  :)  None of this preset "it's gonna go off at 3:30am every morning" funny stuff.

To whomever may desire to tackle this one - Feel free to add to this, or choose which specific music file format will be used in the end product.  Above, I've listed my bare requirements.  Anything above and beyond is solely at the option of the coder.

Additional, completely optional ideas would be:

A playlist of music files, instead of just playing one specified music file.

Adjustable snooze times.

The ability to change the color of the alarm clock display.  The coder picks the available colors.

Multiple alarms for couples in bed - one alarm music file (or playlist) signalling for one person to get up, and another alarm, with a different music file (or playlist) signalling for their better/worse half to get up at a later point in time.

Pages: [1]