| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: Need to insert a PKT Password in PX Generated Netmail Packet |
Hi Allen,
On 10 May 16 16:33, Allen Prunty wrote to All:
about: "Need to insert a PKT Password in PX Generated Netmail Packet":
AP> I have a little problem here that I am desperate for some help for. I
AP> use Winserver and Platinum Express for my Fido Tosser and Bink D/P
AP> protocol to send my e-mail out. PX will put .pkt passwords in all
AP> echomail packets but when I have to generate a netmail packet it
AP> leaves it unsecured without a .pkt password.
AP> Is there a utility out there that can append a .pkt password to a non
AP> secured .pkt file? If someone could whip one up that works I would be
AP> greatful.
AP> My uplink that I route my mail through is not budging in his
AP> requirement to have .pkt passwords on all netmail messages. I've been
AP> told that it's unlikely we will see any more Platinum Express upgrades
AP> or developments.
AP> I've tried (unsuccessfully) to get fastecho to pick up the .pkt file from
AP> a generated inbound directory and move it to a .pkt passworded file. All
AP> I can get it to do is toss it to a .msg and leave it there.
If you want to use FMail or any other ("real") tosser as a
"frontend", you would have to use another node or pointnumber for
PX as it's main node/point number, so the frontend tosser can act as go
between to PX and Binkd. But than, why use PX at all. ;)
AP> If someone has any other ideas on how I can get my netmail .pkt to
AP> route and send properly I would be very thankful for your help.
It would be relatively easy to write a simple util that adds a password to
a "raw" .pkt file. I could do one in python in a few minutes,
probably. ;)
In fact I did. Here it is:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#!/bin/usr/python
#
import struct
import sys
password = struct.pack("8s", sys.argv[2])
pktfile = open(sys.argv[1], "r+b")
pktfile.seek(26)
pktfile.write(password)
pktfile.close()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you haven't got python. Just download and install the latest 2.7 version
from https://www.python.org/downloads/ first.
Then copy above lines (without the ~~~ lines) to a text file with extension
.py. (For instance "AddPktPassword.py")
And execute it on your .pkt files that need a password as:
AddPktPassword.py 12345678.pkt PASSWORD
That should do the trick! ;)
Wilfred.
--- FMail-W32 1.69.21.177-B20160330
* Origin: point{at}work (2:280/464.112)SEEN-BY: 103/705 154/10 203/0 227/51 230/0 240/5832 249/303 261/38 280/464 SEEN-BY: 280/5003 5555 292/624 854 423/120 633/0 267 280 281 640/384 712/848 SEEN-BY: 770/1 @PATH: 280/464 712/848 633/280 267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.