Find Jobs
Hire Freelancers

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

£20-250 GBP

Terminado
Publicado hace alrededor de 9 años

£20-250 GBP

Pagado a la entrega
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.
ID del proyecto: 7455357

Información sobre el proyecto

8 propuestas
Proyecto remoto
Activo hace 9 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
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 en 1 día
0,0 (0 comentarios)
0,0
0,0
8 freelancers están ofertando un promedio de £116 GBP por este trabajo
Avatar del usuario
A proposal has not yet been provided
£200 GBP en 6 días
4,9 (23 comentarios)
4,9
4,9
Avatar del usuario
Hello, I can use Bash to help you automate your code generation procedure. Write me to discuss it in details. Thanks.
£50 GBP en 1 día
4,9 (28 comentarios)
4,5
4,5
Avatar del usuario
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 en 3 días
5,0 (9 comentarios)
3,8
3,8
Avatar del usuario
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 en 2 días
4,8 (3 comentarios)
3,2
3,2
Avatar del usuario
A proposal has not yet been provided
£250 GBP en 3 días
2,9 (2 comentarios)
3,6
3,6
Avatar del usuario
I manage linux servers since 1999 so I wrote many script (different languages) o automate task and operations.
£138 GBP en 3 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
I've been developing a lot of custom scripts for various company needs. I allready have an idear for this.
£88 GBP en 2 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED KINGDOM
CRAWLEY, United Kingdom
4,6
6
Forma de pago verificada
Miembro desde abr 6, 2014

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.