Find Jobs
Hire Freelancers

Lunix script to generate a code/key on demand and copy itself to file

£20-250 GBP

Teljesítve
Kiadva ekkor: körülbelül 9 évvel ezelőtt

£20-250 GBP

Teljesítéskor fizetve
I need the following script: To save time i need a way to generate the following from a simple run command in linux. lets say when i connect to my server in putty..... i just want to run say "codegen" and under this within a few seconds a message comes up saying.... "would you like a "c" or "n" code generated?" and you type c or n and enter the outport for "C" would be: C: url/ip port username password , The outport for "N" would be: N: url/ip port username password and then deckey 01 02 03 04 05 06 07 08 09 10 11 12 13 14 now the hard port, when a C line is made, the username and password must be copied into a predefined file ([login to view URL] or txt file ) as this format F: username password the nline will outport to USER: username password now about the above.... the C:or the N: will be fixed but the url/ip can be pre defined again the script, along with the port numbers. The username and password would be made up from random numbers/letters from the script.
Projektazonosító: 7455357

A projektről

8 ajánlat
Távolról teljesíthető projekt
Aktiválva: 9 évvel ezelőtt

Szeretne pénzt keresni?

A Freelancer oldalán történő árajánlatadás előnyei

Határozzon meg költségvetést és időkeretet
Kapja meg fizetését a munkáért
Vázolja ajánlatát
Ingyen regisztrálhat és adhat árajánlatot munkákra
Neki odaítélve:
Felhasználó avatár
I do not see any issues to do it for you in ą day, just need a bit more clarification: 1. Do you have any requirements on scripting language (ksh/bash/sh/python/perl/...) ? 2. what about deckey? It is also random generated or predefined in the script? Please find almost done script: ======================== #!/bin/ksh file=[login to view URL] [[ -f $file ]] || touch $file cip="[login to view URL]" cport="123" nip="url.for.n" nport="321" nkey="01 02 03 04 05 06 07 08 09 10 11 12 13 14" ok=false user="WillBeRandom" pass="AlsoWillBe" typeset -l type="" while ! $ok do echo "Would you like a 'c' or 'n' code generated?" read type case $type in c) echo "cccc" ok=true echo "F: $user $pass">>$file echo "C: $cip $cport $user $pass" ;; n) echo "nnn" ok=true echo "N: $nip $nport $user $pass and then deckey $nkey" ;; esac done ===================================== Will complete if you award me ;)
£33 GBP 1 napon belül
0,0 (0 értékelés)
0,0
0,0
8 szabadúszó adott átlagosan £116 GBP összegű árajánlatot erre a munkára
Felhasználó avatár
A proposal has not yet been provided
£200 GBP 6 napon belül
4,9 (23 értékelés)
4,9
4,9
Felhasználó avatár
Hello, I can use Bash to help you automate your code generation procedure. Write me to discuss it in details. Thanks.
£50 GBP 1 napon belül
4,9 (28 értékelés)
4,5
4,5
Felhasználó avatár
Hello, If I understand your job description correctly, you want a script that can be placed on your server and which you can then call over putty command line, and which depending on your input will write a certain data to the files your specify. If this is what you need, I can do it. For any questions please contact me, Best regards, Rolf Ernst
£133 GBP 3 napon belül
5,0 (9 értékelés)
3,8
3,8
Felhasználó avatár
C/C++/Java/Python software engineer with 4 years hands-on experience in: system software, client/server applications and compilers. Proficient English speaker.
£40 GBP 2 napon belül
4,8 (3 értékelés)
3,2
3,2
Felhasználó avatár
A proposal has not yet been provided
£250 GBP 3 napon belül
2,9 (2 értékelés)
3,6
3,6
Felhasználó avatár
I manage linux servers since 1999 so I wrote many script (different languages) o automate task and operations.
£138 GBP 3 napon belül
0,0 (0 értékelés)
0,0
0,0
Felhasználó avatár
I've been developing a lot of custom scripts for various company needs. I allready have an idear for this.
£88 GBP 2 napon belül
0,0 (0 értékelés)
0,0
0,0

Az ügyfélről

UNITED KINGDOM zászlója
CRAWLEY, United Kingdom
4,6
6
Fizetési mód hitelesítve
Tagság kezdete: ápr. 6, 2014

Ügyfél-hitelesítés

Köszönjük! E-mailben elküldtük a linket, melyen átveheti ajándék egyenlegét.
E-mailje elküldése során valami hiba történt. Kérjük, próbálja újra.
Regisztrált Felhasználók Összes Közzétett Munka
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Előnézet betöltése
Hozzáférést adott a helymeghatározáshoz.
Belépési munkamenete lejárt, és kijelentkeztettük. Kérjük, lépjen be újra.