Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server > Metin2 PServer Guides & Strategies
You last visited: Today at 10:19

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[RELEASE] New Putty Version (New Commands)

Discussion on [RELEASE] New Putty Version (New Commands) within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Reply
 
Old 10/08/2012, 11:55   #31
 
elite*gold: 1
Join Date: Apr 2012
Posts: 928
Received Thanks: 2,486
Mein Gott EsoZiaL machn Kopp zu da kommt nur Müll raus..
.Awesoome' is offline  
Thanks
3 Users
Old 10/08/2012, 12:24   #32

 
.QaDusch's Avatar
 
elite*gold: 206
The Black Market: 528/0/0
Join Date: Aug 2009
Posts: 9,154
Received Thanks: 1,156
Die Diskussion ist genau so unnötig, wie wenn, naja egal aufjedenfall ist es unnötig.

Esozial, kannst doch einfach aufhören? Geh ausm Thread und schau ein paar Yt videos.
Dann kannste dir das selber machen und musst keine Angst haben das dort Viren sind.

An den Rest wie Deskorner, aza etc:
Ihr könnt ihn doch auch einfach ignorieren?
Ein Statement reicht doch vollkommen.

Nun zum Release:
Schön mal was anderes zu sehen, ausser ein Design oder sonstwas.
Schade auch, das es nur die Leute benutzen wollen, die den Releaser kennen.
Ich kanns für meinen Teil nicht gebrauchen, aber ein Thx lass ich mal da.

Bitte, meckert mich nicht an, werds wahrscheinlich eher nicht verkraften.
.QaDusch is offline  
Thanks
2 Users
Old 10/08/2012, 12:35   #33
 
xCPx's Avatar
 
elite*gold: 20
Join Date: Jun 2011
Posts: 2,897
Received Thanks: 3,336
Idee an sich gut.
Nur leider wird es niemand benutzen dem seine Daten lieb sind.
Und nein das sage ich nicht weil ich iwas gegen Desko habe, sondern weil es zb bei mir ein Grundprinzip ist sowenig daten wie möglich in iwelche Fremden Tools zu stecken.
Außerdem kann man die Anzeige oben auch ändern beim Normalen Putty.

Einfach unter: Category --> Window ---> Behaviour
Einen Window Title angeben und Connecten.
(wenn man das angibt bevor man die Session speichert, wird der Window name sogar mitgespeichert)
hat den gleichen Effekt und das ohne Bat und neues Programm.


Daher Thx für die Arbeit (ich hoffe mal ihr habt es selbst geschrieben und nicht iwo kopiert) aber in meinen Augen eher unnötig, da es die Funktion in Putty schon gibt.
xCPx is offline  
Old 10/08/2012, 13:36   #34
 
Sphinx²'s Avatar
 
elite*gold: 1918
Join Date: Feb 2008
Posts: 1,368
Received Thanks: 1,287
Quote:
Originally Posted by xCPx View Post
Idee an sich gut.
Nur leider wird es niemand benutzen dem seine Daten lieb sind.
Und nein das sage ich nicht weil ich iwas gegen Desko habe, sondern weil es zb bei mir ein Grundprinzip ist sowenig daten wie möglich in iwelche Fremden Tools zu stecken.
Außerdem kann man die Anzeige oben auch ändern beim Normalen Putty.

Einfach unter: Category --> Window ---> Behaviour
Einen Window Title angeben und Connecten.
(wenn man das angibt bevor man die Session speichert, wird der Window name sogar mitgespeichert)
hat den gleichen Effekt und das ohne Bat und neues Programm.


Daher Thx für die Arbeit (ich hoffe mal ihr habt es selbst geschrieben und nicht iwo kopiert) aber in meinen Augen eher unnötig, da es die Funktion in Putty schon gibt.
Du hast die Möglichkeit nicht wenn du Putty mit dem command promt startest.

Da ich hier z.B. auf 20 Server zugriff habe , hab ich kein Bock jedes mal mein Passwort einzugeben(Müsst Ihr mir nicht glauben).

Meine Putty Version hab ich noch angepasst.
Meine Passwörter sind darin verschlüsselt ^^.

Naja unwichtig.

Was ich hier richtig "asozial" finde ist dass hier einige meinen, meinem
Ruf schaden zu müssen.
Ich bin so naiv und denke das es euch gefallen könnte
und dass es einige sogar gebrauchen könnten.
Aber das Ihr dann so anfangt und behauptet ich baue da Viren ein...
Das find ich einfach scheisse..

Ich habs Deskorner posten lassen da ich kein Bock darauf habe
irgendwelche Themen zu verfassen..
Soll er es doch machen.


Quote:
Originally Posted by .EsoZiaL' View Post
Ich weiß nicht wie es so mit den Trojanern aussieht, weil Desko wird gerne als sehr Dumm verkauft. *hust, wieso kamen sonst dein Client & Srvfiles public?*

Ich weiß nicht ganz, aber findet ihr es nicht komisch ein "modifiziertes" Programm zu bekommen, wo man wertvolle Adressen mit Passwörter eingibt, einfach so runter laden sollt, aus einem Board wo das Vertrauen hier im Keller ist?

Komisch, hätte es ein anderer Releast hätte ich sogar gesagt das ich es benutzen würde, aber ich hab halt meine eigene Meinung über die Ausbeuter der Metin2 Sektion.
Ich hab den Putty Source runtergeladen und angepasst.
Schon komisch das die besten Antivir Scanner (Kaspersky, Notron Symantec)
nichts finden??


Quote:
Originally Posted by .EsoZiaL' View Post
Ich hab nur meinen 2. Post editiert, damit du weißt was ich von dir halte.

Als ob ich es nötig hätte auf irgentwelchen PServern von auf DE zu troll'n.
Weißt du, ich hab letztens mein eigenen Rechner gebaut, jetzt kann ich nicht wie andere User mit den 0815 Set PCs zwangsweise nur Metin2 spielen, nein nein, ich Spiele zurzeit Assassins Creed.

Dazu muss ich sagen, das Game wurde für Noobs entwinkelt. Es gibt kein Moment wo ich mir sagen kann "jetzt komm ich hier nichtmehr weiter..", sondern ich kann einfach in irgentein Shop gehen, Geld reinballern und weiter gehts. Sowas wie eine Story die mich in anderen Spielen vom Ziel abhaltet mit einen Startschwierigkeitsgrad exestiert hier nicht. Kauf EXP Ring und EQ dann kannst du weiter Leveln. Vondaher kann ich voller stolz sagen, ich habe 3 Jahre meines Lebens mit diesen Kak vergoldet.

P.S. Rechtschreibfehler könnt ihr essen, bedankt euch bei mein Handy.
Wenn interessiert es was du von anderen hällst?


Wen interessiert es was du spielst?
Aber da du ja so cool bist und das preis gibst..
mach ich das auch...
Ich spiele gerade auf der Xbox360 MW3 Online (Quick Scoppen) und
League of legends .


Tja... pech gehabt oder??


________________________________________________
Quote:
Originally Posted by SoNiice View Post
Ihr habt also eine fertige Source bearbeitet und sagt nun es ist eure, grandios - Auf eine solche Idee muss man erstmal kommen!
__

Ich vertraue dem ganzen nicht und gebe der Meinung von Esozial mal Beistand, dass ich dem ganzen nicht vertrau' könnte damit zusammenhängen, dass ich euch nicht mag.

//edit:

Ich habe mich nun gesammelt und bin bereit - Ihr dürft mich nun haten!
Weisst... Wir müssen garnicht mal anfangen von dir zu reden.
Du bist sowieso der beste... base64 verschlüsselte PHP Routinen
einzubauen die es dir ermöglichen auf der HP zu machen was du willst??

Quote:
Originally Posted by .Awesoome' View Post
Mein Gott EsoZiaL machn Kopp zu da kommt nur Müll raus..
Du sprichst mir aus der Seele <3

Quote:
Originally Posted by .QaDusch View Post
Die Diskussion ist genau so unnötig, wie wenn, naja egal aufjedenfall ist es unnötig.

Esozial, kannst doch einfach aufhören? Geh ausm Thread und schau ein paar Yt videos.
Dann kannste dir das selber machen und musst keine Angst haben das dort Viren sind.

An den Rest wie Deskorner, aza etc:
Ihr könnt ihn doch auch einfach ignorieren?
Ein Statement reicht doch vollkommen.

Nun zum Release:
Schön mal was anderes zu sehen, ausser ein Design oder sonstwas.
Schade auch, das es nur die Leute benutzen wollen, die den Releaser kennen.
Ich kanns für meinen Teil nicht gebrauchen, aber ein Thx lass ich mal da.

Bitte, meckert mich nicht an, werds wahrscheinlich eher nicht verkraften.
Warum sollten wir das tun.
Du im Gegensatz zu anderen kannst dich normal ausdrücken und auch cool
bleiben.

Danke für deinen netten Post .

Gruss
Sphinx
Sphinx² is offline  
Thanks
4 Users
Old 10/08/2012, 13:46   #35
 
xCPx's Avatar
 
elite*gold: 20
Join Date: Jun 2011
Posts: 2,897
Received Thanks: 3,336
Quote:
Originally Posted by Sphinx² View Post
Du hast die Möglichkeit nicht wenn du Putty mit dem command promt startest.

Da ich hier z.B. auf 20 Server zugriff habe , hab ich kein Bock jedes mal mein Passwort einzugeben(Müsst Ihr mir nicht glauben).

Meine Putty Version hab ich noch angepasst.
Meine Passwörter sind darin verschlüsselt ^^.

Naja unwichtig.

Was ich hier richtig "asozial" finde ist dass hier einige meinen, meinem
Ruf schaden zu müssen.
Ich bin so naiv und denke das es euch gefallen könnte
und dass es einige sogar gebrauchen könnten.
Aber das Ihr dann so anfangt und behauptet ich baue da Viren ein...
Das find ich einfach scheisse..

Ich habs Deskorner posten lassen da ich kein Bock darauf habe
irgendwelche Themen zu verfassen..
Soll er es doch machen.




Ich hab den Putty Source runtergeladen und angepasst.
Schon komisch das die besten Antivir Scanner (Kaspersky, Notron Symantec)
nichts finden??




Wenn interessiert es was du von anderen hällst?


Wen interessiert es was du spielst?
Aber da du ja so cool bist und das preis gibst..
mach ich das auch...
Ich spiele gerade auf der Xbox360 MW3 Online (Quick Scoppen) und
League of legends .


Tja... pech gehabt oder??


________________________________________________


Weisst... Wir müssen garnicht mal anfangen von dir zu reden.
Du bist sowieso der beste... base64 verschlüsselte PHP Routinen
einzubauen die es dir ermöglichen auf der HP zu machen was du willst??



Du sprichst mir aus der Seele <3



Warum sollten wir das tun.
Du im Gegensatz zu anderen kannst dich normal ausdrücken und auch cool
bleiben.

Danke für deinen netten Post .

Gruss
Sphinx
Also ich hab immer entweder Keyfiles oder weis meine Pw´s auswendig ^^
Von daher wie gesagt nette Idee aber in meinen Augen eher unnötig
xCPx is offline  
Old 10/08/2012, 13:58   #36
 
Sphinx²'s Avatar
 
elite*gold: 1918
Join Date: Feb 2008
Posts: 1,368
Received Thanks: 1,287
Ne lässt sich nicht darüber realisieren.

Hier sind alle Argumente die man jetzt übergeben kann.
Wie gesagt.

PHP Code:
/*
 * cmdline.c - command-line parsing shared between many of the
 * PuTTY applications
 */

#include <stdio.h>
#include <assert.h>
#include <stdlib.h>
#include "putty.h"

/*
 * Some command-line parameters need to be saved up until after
 * we've loaded the saved session which will form the basis of our
 * eventual running configuration. For this we use the macro
 * SAVEABLE, which notices if the `need_save' parameter is set and
 * saves the parameter and value on a list.
 * 
 * We also assign priorities to saved parameters, just to slightly
 * ameliorate silly ordering problems. For example, if you specify
 * a saved session to load, it will be loaded _before_ all your
 * local modifications such as -L are evaluated; and if you specify
 * a protocol and a port, the protocol is set up first so that the
 * port can override its choice of port number.
 * 
 * (In fact -load is not saved at all, since in at least Plink the
 * processing of further command-line options depends on whether or
 * not the loaded session contained a hostname. So it must be
 * executed immediately.)
 */

#define NPRIORITIES 2

struct cmdline_saved_param {
    
char *p, *value;
};
struct cmdline_saved_param_set {
    
struct cmdline_saved_param *params;
    
int nsavedsavesize;
};

extern char *window_namenewname;
extern int hideip;

/*
 * C guarantees this structure will be initialised to all zero at
 * program start, which is exactly what we want.
 */
static struct cmdline_saved_param_set saves[NPRIORITIES];

static 
void cmdline_save_param(char *pchar *valueint pri)
{
    if (
saves[pri].nsaved >= saves[pri].savesize) {
    
saves[pri].savesize saves[pri].nsaved 32;
    
saves[pri].params sresize(saves[pri].paramssaves[pri].savesize,
                    
struct cmdline_saved_param);
    }
    
saves[pri].params[saves[pri].nsaved].p;
    
saves[pri].params[saves[pri].nsaved].value value;
    
saves[pri].nsaved++;
}

static 
char *cmdline_password NULL;

void cmdline_cleanup(void)
{
    
int pri;

    if (
cmdline_password) {
    
memset(cmdline_password0strlen(cmdline_password));
    
sfree(cmdline_password);
    
cmdline_password NULL;
    }
    
    for (
pri 0pri NPRIORITIESpri++) {
    
sfree(saves[pri].params);
    
saves[pri].params NULL;
    
saves[pri].savesize 0;
    
saves[pri].nsaved 0;
    }
}

#define SAVEABLE(pri) do { \
    
if (need_save) { cmdline_save_param(pvaluepri); return ret; } \
} while (
0)

/*
 * Similar interface to get_userpass_input(), except that here a -1
 * return means that we aren't capable of processing the prompt and
 * someone else should do it.
 */
int cmdline_get_passwd_input(prompts_t *punsigned char *inint inlen) {

    static 
int tried_once 0;

    
/*
     * We only handle prompts which don't echo (which we assume to be
     * passwords), and (currently) we only cope with a password prompt
     * that comes in a prompt-set on its own.
     */
    
if (!cmdline_password || in || p->n_prompts != || p->prompts[0]->echo) {
    return -
1;
    }

    
/*
     * If we've tried once, return utter failure (no more passwords left
     * to try).
     */
    
if (tried_once)
    return 
0;

    
strncpy(p->prompts[0]->resultcmdline_password,
        
p->prompts[0]->result_len);
    
p->prompts[0]->result[p->prompts[0]->result_len-1] = '\0';
    
memset(cmdline_password0strlen(cmdline_password));
    
sfree(cmdline_password);
    
cmdline_password NULL;
    
tried_once 1;
    return 
1;

}

/*
 * Here we have a flags word which describes the capabilities of
 * the particular tool on whose behalf we're running. We will
 * refuse certain command-line options if a particular tool
 * inherently can't do anything sensible. For example, the file
 * transfer tools (psftp, pscp) can't do a great deal with protocol
 * selections (ever tried running scp over telnet?) or with port
 * forwarding (even if it wasn't a hideously bad idea, they don't
 * have the select() infrastructure to make them work).
 */
int cmdline_tooltype 0;

static 
int cmdline_check_unavailable(int flagchar *p)
{
    if (
cmdline_tooltype flag) {
    
cmdline_error("option \"%s\" not available in this tool"p);
    return 
1;
    }
    return 
0;
}

#define UNAVAILABLE_IN(flag) do { \
    
if (cmdline_check_unavailable(flagp)) return ret; \
} while (
0)

/*
 * Process a standard command-line parameter. `p' is the parameter
 * in question; `value' is the subsequent element of argv, which
 * may or may not be required as an operand to the parameter.
 * If `need_save' is 1, arguments which need to be saved as
 * described at this top of this file are, for later execution;
 * if 0, they are processed normally. (-1 is a special value used
 * by pterm to count arguments for a preliminary pass through the
 * argument list; it causes immediate return with an appropriate
 * value with no action taken.)
 * Return value is 2 if both arguments were used; 1 if only p was
 * used; 0 if the parameter wasn't one we recognised; -2 if it
 * should have been 2 but value was NULL.
 */

#define RETURN(x) do { \
    
if ((x) == && !value) return -2; \
    
ret x; \
    if (
need_save 0) return x; \
} while (
0)

int cmdline_process_param(char *pchar *valueint need_saveConfig *cfg)
{
    
int ret 0;

    if (!
strcmp(p"-load")) {
    RETURN(
2);
    
/* This parameter must be processed immediately rather than being
     * saved. */
    
do_defaults(valuecfg);
    
loaded_session TRUE;
    
cmdline_session_name dupstr(value);
    return 
2;
    }
    if (!
strcmp(p"-ssh")) {
    RETURN(
1);
    
UNAVAILABLE_IN(TOOLTYPE_FILETRANSFER TOOLTYPE_NONNETWORK);
    
SAVEABLE(0);
    
default_protocol cfg->protocol PROT_SSH;
    
default_port cfg->port 22;
    return 
1;
    }
    if (!
strcmp(p"-telnet")) {
    RETURN(
1);
    
UNAVAILABLE_IN(TOOLTYPE_FILETRANSFER TOOLTYPE_NONNETWORK);
    
SAVEABLE(0);
    
default_protocol cfg->protocol PROT_TELNET;
    
default_port cfg->port 23;
    return 
1;
    }
    if (!
strcmp(p"-rlogin")) {
    RETURN(
1);
    
UNAVAILABLE_IN(TOOLTYPE_FILETRANSFER TOOLTYPE_NONNETWORK);
    
SAVEABLE(0);
    
default_protocol cfg->protocol PROT_RLOGIN;
    
default_port cfg->port 513;
    return 
1;
    }
    if (!
strcmp(p"-raw")) {
    RETURN(
1);
    
UNAVAILABLE_IN(TOOLTYPE_FILETRANSFER TOOLTYPE_NONNETWORK);
    
SAVEABLE(0);
    
default_protocol cfg->protocol PROT_RAW;
    }
    if (!
strcmp(p"-serial")) {
    RETURN(
1);
    
/* Serial is not NONNETWORK in an odd sense of the word */
    
UNAVAILABLE_IN(TOOLTYPE_FILETRANSFER TOOLTYPE_NONNETWORK);
    
SAVEABLE(0);
    
default_protocol cfg->protocol PROT_SERIAL;
    
/* The host parameter will already be loaded into cfg->host, so copy it across */
    
strncpy(cfg->serlinecfg->hostsizeof(cfg->serline) - 1);
    
cfg->serline[sizeof(cfg->serline) - 1] = '\0';
    }
    if (!
strcmp(p"-v")) {
    RETURN(
1);
    
flags |= FLAG_VERBOSE;
    }
    if (!
strcmp(p"-l")) {
    RETURN(
2);
    
UNAVAILABLE_IN(TOOLTYPE_NONNETWORK);
    
SAVEABLE(0);
    
strncpy(cfg->usernamevaluesizeof(cfg->username));
    
cfg->username[sizeof(cfg->username) - 1] = '\0';
    }
    if (!
strcmp(p"-loghost")) {
    RETURN(
2);
    
UNAVAILABLE_IN(TOOLTYPE_NONNETWORK);
    
SAVEABLE(0);
    
strncpy(cfg->loghostvaluesizeof(cfg->loghost));
    
cfg->loghost[sizeof(cfg->loghost) - 1] = '\0';
    }
    if ((!
strcmp(p"-L") || !strcmp(p"-R") || !strcmp(p"-D"))) {
    
char *fwd, *ptr, *q, *qq;
    
int dynamici=0;
    RETURN(
2);
    
UNAVAILABLE_IN(TOOLTYPE_FILETRANSFER TOOLTYPE_NONNETWORK);
    
SAVEABLE(0);
    
dynamic = !strcmp(p"-D");
    
fwd value;
    
ptr cfg->portfwd;
    
/* if existing forwards, find end of list */
    
while (*ptr) {
        while (*
ptr)
        
ptr++;
        
ptr++;
    }
    
ptr cfg->portfwd;
    
ptr[0] = p[1];  /* insert a 'L', 'R' or 'D' at the start */
    
ptr++;
    if (
strlen(fwd) + sizeof(cfg->portfwd) - i) {
        
cmdline_error("out of space for port forwardings");
        return 
ret;
    }
    
strncpy(ptrfwdsizeof(cfg->portfwd) - 2);
    if (!
dynamic) {
        
/*
         * We expect _at least_ two colons in this string. The
         * possible formats are `sourceport:desthost:destport',
         * or `sourceip:sourceport:desthost:destport' if you're
         * specifying a particular loopback address. We need to
         * replace the one between source and dest with a \t;
         * this means we must find the second-to-last colon in
         * the string.
         */
        
qq strchr(ptr':');
        while (
qq) {
        
char *qqq strchr(qq+1':');
        if (
qqq)
            
qq;
        
qq qqq;
        }
        if (
q) *'\t';           /* replace second-last colon with \t */
    
}
    
cfg->portfwd[sizeof(cfg->portfwd) - 1] = '\0';
    
cfg->portfwd[sizeof(cfg->portfwd) - 2] = '\0';
    
ptr[strlen(ptr)+1] = '\000';    /* append 2nd '\000' */
    
}
    if ((!
strcmp(p"-nc"))) {
    
char *host, *portp;

    RETURN(
2);
    
UNAVAILABLE_IN(TOOLTYPE_FILETRANSFER TOOLTYPE_NONNETWORK);
    
SAVEABLE(0);

    
host portp value;
    while (*
portp && *portp != ':')
        
portp++;
    if (*
portp) {
        
unsigned len portp host;
        if (
len >= sizeof(cfg->ssh_nc_host))
        
len sizeof(cfg->ssh_nc_host) - 1;
        
memcpy(cfg->ssh_nc_hostvaluelen);
        
cfg->ssh_nc_host[len] = '\0';
        
cfg->ssh_nc_port atoi(portp+1);
    } else {
        
cmdline_error("-nc expects argument of form 'host:port'");
        return 
ret;
    }
    }
    if (!
strcmp(p"-m")) {
    
char *filename, *command;
    
int cmdlencmdsize;
    
FILE *fp;
    
int cd;

    RETURN(
2);
    
UNAVAILABLE_IN(TOOLTYPE_FILETRANSFER TOOLTYPE_NONNETWORK);
    
SAVEABLE(0);

    
filename value;

    
cmdlen cmdsize 0;
    
command NULL;
    
fp fopen(filename"r");
    if (!
fp) {
        
cmdline_error("unable to open command "
              "file \"%s\""
filename);
        return 
ret;
    }
    do {
        
fgetc(fp);
        
c;
        if (
== EOF)
        
0;
        if (
cmdlen >= cmdsize) {
        
cmdsize cmdlen 512;
        
command sresize(commandcmdsizechar);
        }
        
command[cmdlen++] = d;
    } while (
!= EOF);
    
cfg->remote_cmd_ptr command;
    
cfg->remote_cmd_ptr2 NULL;
    
cfg->nopty TRUE;      /* command => no terminal */
    
fclose(fp);
    }
    if (!
strcmp(p"-P")) {
    RETURN(
2);
    
UNAVAILABLE_IN(TOOLTYPE_NONNETWORK);
    
SAVEABLE(1);               /* lower priority than -ssh,-telnet */
    
cfg->port atoi(value);
    }
    if (!
strcmp(p"-pw")) {
    RETURN(
2);
    
UNAVAILABLE_IN(TOOLTYPE_NONNETWORK);
    
SAVEABLE(1);
    
/* We delay evaluating this until after the protocol is decided,
     * so that we can warn if it's of no use with the selected protocol */
    
if (cfg->protocol != PROT_SSH)
        
cmdline_error("the -pw option can only be used with the "
              "SSH protocol"
);
    else {
        
cmdline_password dupstr(value);
        
/* Assuming that `value' is directly from argv, make a good faith
         * attempt to trample it, to stop it showing up in `ps' output
         * on Unix-like systems. Not guaranteed, of course. */
        
memset(value0strlen(value));
    }
    }

    if (!
strcmp(p"-servername")) {
        RETURN(
2);
        
UNAVAILABLE_IN(TOOLTYPE_NONNETWORK);
        
SAVEABLE(1);
        
window_namenewname dupstr(value);
        
memset(value0strlen(value));
    }

    if (!
strcmp(p"-hideip")) {
        RETURN(
2);
        
UNAVAILABLE_IN(TOOLTYPE_NONNETWORK);
        
SAVEABLE(1);
        
hideip 1;
        
memset(value0strlen(value));
    }

    if (!
strcmp(p"-agent") || !strcmp(p"-pagent") ||
    !
strcmp(p"-pageant")) {
    RETURN(
1);
    
UNAVAILABLE_IN(TOOLTYPE_NONNETWORK);
    
SAVEABLE(0);
    
cfg->tryagent TRUE;
    }
    if (!
strcmp(p"-noagent") || !strcmp(p"-nopagent") ||
    !
strcmp(p"-nopageant")) {
    RETURN(
1);
    
UNAVAILABLE_IN(TOOLTYPE_NONNETWORK);
    
SAVEABLE(0);
    
cfg->tryagent FALSE;
    }

    if (!
strcmp(p"-A")) {
    RETURN(
1);
    
UNAVAILABLE_IN(TOOLTYPE_FILETRANSFER TOOLTYPE_NONNETWORK);
    
SAVEABLE(0);
    
cfg->agentfwd 1;
    }
    if (!
strcmp(p"-a")) {
    RETURN(
1);
    
UNAVAILABLE_IN(TOOLTYPE_FILETRANSFER TOOLTYPE_NONNETWORK);
    
SAVEABLE(0);
    
cfg->agentfwd 0;
    }

    if (!
strcmp(p"-X")) {
    RETURN(
1);
    
UNAVAILABLE_IN(TOOLTYPE_FILETRANSFER TOOLTYPE_NONNETWORK);
    
SAVEABLE(0);
    
cfg->x11_forward 1;
    }
    if (!
strcmp(p"-x")) {
    RETURN(
1);
    
UNAVAILABLE_IN(TOOLTYPE_FILETRANSFER TOOLTYPE_NONNETWORK);
    
SAVEABLE(0);
    
cfg->x11_forward 0;
    }

    if (!
strcmp(p"-t")) {
    RETURN(
1);
    
UNAVAILABLE_IN(TOOLTYPE_FILETRANSFER TOOLTYPE_NONNETWORK);
    
SAVEABLE(1);    /* lower priority than -m */
    
cfg->nopty 0;
    }
    if (!
strcmp(p"-T")) {
    RETURN(
1);
    
UNAVAILABLE_IN(TOOLTYPE_FILETRANSFER TOOLTYPE_NONNETWORK);
    
SAVEABLE(1);
    
cfg->nopty 1;
    }

    if (!
strcmp(p"-N")) {
    RETURN(
1);
    
UNAVAILABLE_IN(TOOLTYPE_FILETRANSFER TOOLTYPE_NONNETWORK);
    
SAVEABLE(0);
    
cfg->ssh_no_shell 1;
    }

    if (!
strcmp(p"-C")) {
    RETURN(
1);
    
UNAVAILABLE_IN(TOOLTYPE_NONNETWORK);
    
SAVEABLE(0);
    
cfg->compression 1;
    }

    if (!
strcmp(p"-1")) {
    RETURN(
1);
    
UNAVAILABLE_IN(TOOLTYPE_NONNETWORK);
    
SAVEABLE(0);
    
cfg->sshprot 0;           /* ssh protocol 1 only */
    
}
    if (!
strcmp(p"-2")) {
    RETURN(
1);
    
UNAVAILABLE_IN(TOOLTYPE_NONNETWORK);
    
SAVEABLE(0);
    
cfg->sshprot 3;           /* ssh protocol 2 only */
    
}

    if (!
strcmp(p"-i")) {
    RETURN(
2);
    
UNAVAILABLE_IN(TOOLTYPE_NONNETWORK);
    
SAVEABLE(0);
    
cfg->keyfile filename_from_str(value);
    }

    if (!
strcmp(p"-4") || !strcmp(p"-ipv4")) {
    RETURN(
1);
    
SAVEABLE(1);
    
cfg->addressfamily ADDRTYPE_IPV4;
    }
    if (!
strcmp(p"-6") || !strcmp(p"-ipv6")) {
    RETURN(
1);
    
SAVEABLE(1);
    
cfg->addressfamily ADDRTYPE_IPV6;
    }
    if (!
strcmp(p"-sercfg")) {
    
charnextitem;
    RETURN(
2);
    
UNAVAILABLE_IN(TOOLTYPE_FILETRANSFER TOOLTYPE_NONNETWORK);
    
SAVEABLE(1);
    if (
cfg->protocol != PROT_SERIAL)
        
cmdline_error("the -sercfg option can only be used with the "
              "serial protocol"
);
    
/* Value[0] contains one or more , separated values, like 19200,8,n,1,X */
    
nextitem value;
    while (
nextitem[0] != '\0') {
        
int lengthskip;
        
char *end strchr(nextitem',');
        if (!
end) {
        
length strlen(nextitem);
        
skip 0;
        } else {
        
length end nextitem;
        
nextitem[length] = '\0';
        
skip 1;
        }
        if (
length == 1) {
        switch (*
nextitem) {
          case 
'1':
            
cfg->serstopbits 2;
            break;
          case 
'2':
            
cfg->serstopbits 4;
            break;

          case 
'5':
            
cfg->serdatabits 5;
            break;
          case 
'6':
            
cfg->serdatabits 6;
            break;
          case 
'7':
            
cfg->serdatabits 7;
            break;
          case 
'8':
            
cfg->serdatabits 8;
            break;
          case 
'9':
            
cfg->serdatabits 9;
            break;

          case 
'n':
            
cfg->serparity SER_PAR_NONE;
            break;
          case 
'o':
            
cfg->serparity SER_PAR_ODD;
            break;
          case 
'e':
            
cfg->serparity SER_PAR_EVEN;
            break;
          case 
'm':
            
cfg->serparity SER_PAR_MARK;
            break;
          case 
's':
            
cfg->serparity SER_PAR_SPACE;
            break;

          case 
'N':
            
cfg->serflow SER_FLOW_NONE;
            break;
          case 
'X':
            
cfg->serflow SER_FLOW_XONXOFF;
            break;
          case 
'R':
            
cfg->serflow SER_FLOW_RTSCTS;
            break;
          case 
'D':
            
cfg->serflow SER_FLOW_DSRDTR;
            break;

          default:
            
cmdline_error("Unrecognised suboption \"-sercfg %c\"",
                  *
nextitem);
        }
        } else if (
length == && !strncmp(nextitem,"1.5",3)) {
        
/* Messy special case */
        
cfg->serstopbits 3;
        } else {
        
int serspeed atoi(nextitem);
        if (
serspeed != 0) {
            
cfg->serspeed serspeed;
        } else {
            
cmdline_error("Unrecognised suboption \"-sercfg %s\"",
                  
nextitem);
        }
        }
        
nextitem += length skip;
    }
    }
    return 
ret;                   /* unrecognised */
}

void cmdline_run_saved(Config *cfg)
{
    
int prii;
    for (
pri 0pri NPRIORITIESpri++)
    for (
0saves[pri].nsavedi++)
        
cmdline_process_param(saves[pri].params[i].p,
                  
saves[pri].params[i].value0cfg);

Quote:
Originally Posted by xCPx View Post
Also ich hab immer entweder Keyfiles oder weis meine Pw´s auswendig ^^
Von daher wie gesagt nette Idee aber in meinen Augen eher unnötig
Du bist in meinen Augen auch unnötig...
Ich verweise dich gerne auf den 2ten Post hier in diesem Thread


Und wenn zur hölle interessiert es ob du deine PWs auswendig kannst oder nicht?

Ich wiederholle nochmal (Das letzte mal war es auf dem Ug Ts):
Hör auf deine unnötigen Kommentare in den Posts von Desko
oder mir zu verbtreiten.

Ich zitiere xCPx:

- Ich lach mir einfach immer den Arsch ab auf Epvp.

Pure provokation...

Der Punkt ist der:
- Wenn du es nicht gebrauchen kannst und unnötig findest.
Dann lass es einfach sein.
Niemand zwingt dich es zu verwenden.

Gruss
Sphinx
Sphinx² is offline  
Thanks
2 Users
Old 10/08/2012, 14:02   #37
 
PeterWaschLabaschsdu's Avatar
 
elite*gold: 0
Join Date: Mar 2012
Posts: 226
Received Thanks: 314
Quote:
Originally Posted by DeSkOrNeR View Post
Naja...
Du bist das beste Beispiel für ein kleines Kind, was alles glaubt was geschrieben oder erzählt wird.
Wir wollten einfach mal nett sein und nichts anderes.
Wenn der ganze Müll stimmen würde, hätte ich nicht so ein großes Team hinter mir.

Team von UndergroundMt3
Du bist doch das kleine Kind wenn du es nicht akzeptieren kannst wenn jemand seine Daten ungern in dein Tool angeben will. Er hat auch nicht behauptet dass du Virus oder Traojer etc verbreitest sondern nur dass man euch nicht vertrauen kann und da hat er recht, weil Man im Internet niemanden trauen sollte. Ahja schön geclosed

@Aza: Bitte mach dein Mund nicht auf da kommt doch eh nur scheiße raus
PeterWaschLabaschsdu is offline  
Old 10/08/2012, 14:07   #38


 
elite*gold: 0
Join Date: Feb 2010
Posts: 7,221
Received Thanks: 6,758
Oh Gott, Deskorner goes huge.
Und wer auch immer hier was gegen mich sagen möchte, nur her damit - Ich kann damit leben. Es gibt nämlich Leute, die gehen von Morgens bis Abends arbeiten und brauchen keinen Metin2 Server um sich Taschengeld zu verdienen, die machen ihre Server dann aus Spaß, ach hi, so bin ich ja auch.

Und von wegen base64 Verschlüsselung, habe ich Schaden damit angerichtet? Nein, lediglich eine Absicherung für mich, für nichts sonst. Aber von dem Wort "Sicherheit" könnt ihr sowieso nicht reden, wie oft waren eure Serverfiles nochmal geklaut worden? Achja, oft genug.

Und übrigens, es gibt da so ein Recht für jeden Menschen, dieses Recht nennt sich Schulpflicht, also nutzt diese und verbringt eure Zeit sinvoll bevor ihr zu solchen Primaten werdet wie der Threadersteller und sein Team, over and out - *******.
#SoNiice is online now  
Thanks
3 Users
Old 10/08/2012, 14:07   #39
 
elite*gold: 1
Join Date: Apr 2012
Posts: 928
Received Thanks: 2,486
Quote:
Originally Posted by PeterWaschLabaschsdu View Post
Du bist doch das kleine Kind wenn du es nicht akzeptieren kannst wenn jemand seine Daten ungern in dein Tool angeben will. Er hat auch nicht behauptet dass du Virus oder Traojer etc verbreitest sondern nur dass man euch nicht vertrauen kann und da hat er recht, weil Man im Internet niemanden trauen sollte. Ahja schön geclosed

@Aza: Bitte mach dein Mund nicht auf da kommt doch eh nur scheiße raus
Aufgrund solcher User wie dir, sollte man einen IQ Test machen müssen wenn man in Thread's posten will.
Allerdings muss man dann noch Google usw ausschalten damit du nicht betrügst.


Kleiner Tipp, poste lieber erst garnichts, deine Post's sind


1. Uninteressant
2. Spam(Keine Kritik,kein Feedback sondern einfach nur Müll)
3. Allein aufgrund deines Namen's einfach nur
.Awesoome' is offline  
Thanks
4 Users
Old 10/08/2012, 14:10   #40
 
PeterWaschLabaschsdu's Avatar
 
elite*gold: 0
Join Date: Mar 2012
Posts: 226
Received Thanks: 314
Quote:
Originally Posted by .Awesoome' View Post
Aufgrund solcher User wie dir, sollte man einen IQ Test machen müssen wenn man in Thread's posten will.
Allerdings muss man dann noch Google usw ausschalten damit du nicht betrügst.


Kleiner Tipp, poste lieber erst garnichts, deine Post's sind


1. Uninteressant
2. Spam(Keine Kritik,kein Feedback sondern einfach nur Müll)
3. Allein aufgrund deines Namen's einfach nur
Ja ich finde auch dass ein IQ Test nötig ist wegen dir aber es ist nun mal auch erlaubt dass solche Kiddys wie du süchten dürfen.
PeterWaschLabaschsdu is offline  
Old 10/08/2012, 14:13   #41
 
xCPx's Avatar
 
elite*gold: 20
Join Date: Jun 2011
Posts: 2,897
Received Thanks: 3,336
Quote:
Originally Posted by Sphinx² View Post
Ne lässt sich nicht darüber realisieren.

Hier sind alle Argumente die man jetzt übergeben kann.
Wie gesagt.

PHP Code:
/*
 * cmdline.c - command-line parsing shared between many of the
 * PuTTY applications
 */

#include <stdio.h>
#include <assert.h>
#include <stdlib.h>
#include "putty.h"

/*
 * Some command-line parameters need to be saved up until after
 * we've loaded the saved session which will form the basis of our
 * eventual running configuration. For this we use the macro
 * SAVEABLE, which notices if the `need_save' parameter is set and
 * saves the parameter and value on a list.
 * 
 * We also assign priorities to saved parameters, just to slightly
 * ameliorate silly ordering problems. For example, if you specify
 * a saved session to load, it will be loaded _before_ all your
 * local modifications such as -L are evaluated; and if you specify
 * a protocol and a port, the protocol is set up first so that the
 * port can override its choice of port number.
 * 
 * (In fact -load is not saved at all, since in at least Plink the
 * processing of further command-line options depends on whether or
 * not the loaded session contained a hostname. So it must be
 * executed immediately.)
 */

#define NPRIORITIES 2

struct cmdline_saved_param {
    
char *p, *value;
};
struct cmdline_saved_param_set {
    
struct cmdline_saved_param *params;
    
int nsavedsavesize;
};

extern char *window_namenewname;
extern int hideip;

/*
 * C guarantees this structure will be initialised to all zero at
 * program start, which is exactly what we want.
 */
static struct cmdline_saved_param_set saves[NPRIORITIES];

static 
void cmdline_save_param(char *pchar *valueint pri)
{
    if (
saves[pri].nsaved >= saves[pri].savesize) {
    
saves[pri].savesize saves[pri].nsaved 32;
    
saves[pri].params sresize(saves[pri].paramssaves[pri].savesize,
                    
struct cmdline_saved_param);
    }
    
saves[pri].params[saves[pri].nsaved].p;
    
saves[pri].params[saves[pri].nsaved].value value;
    
saves[pri].nsaved++;
}

static 
char *cmdline_password NULL;

void cmdline_cleanup(void)
{
    
int pri;

    if (
cmdline_password) {
    
memset(cmdline_password0strlen(cmdline_password));
    
sfree(cmdline_password);
    
cmdline_password NULL;
    }
    
    for (
pri 0pri NPRIORITIESpri++) {
    
sfree(saves[pri].params);
    
saves[pri].params NULL;
    
saves[pri].savesize 0;
    
saves[pri].nsaved 0;
    }
}

#define SAVEABLE(pri) do { \
    
if (need_save) { cmdline_save_param(pvaluepri); return ret; } \
} while (
0)

/*
 * Similar interface to get_userpass_input(), except that here a -1
 * return means that we aren't capable of processing the prompt and
 * someone else should do it.
 */
int cmdline_get_passwd_input(prompts_t *punsigned char *inint inlen) {

    static 
int tried_once 0;

    
/*
     * We only handle prompts which don't echo (which we assume to be
     * passwords), and (currently) we only cope with a password prompt
     * that comes in a prompt-set on its own.
     */
    
if (!cmdline_password || in || p->n_prompts != || p->prompts[0]->echo) {
    return -
1;
    }

    
/*
     * If we've tried once, return utter failure (no more passwords left
     * to try).
     */
    
if (tried_once)
    return 
0;

    
strncpy(p->prompts[0]->resultcmdline_password,
        
p->prompts[0]->result_len);
    
p->prompts[0]->result[p->prompts[0]->result_len-1] = '\0';
    
memset(cmdline_password0strlen(cmdline_password));
    
sfree(cmdline_password);
    
cmdline_password NULL;
    
tried_once 1;
    return 
1;

}

/*
 * Here we have a flags word which describes the capabilities of
 * the particular tool on whose behalf we're running. We will
 * refuse certain command-line options if a particular tool
 * inherently can't do anything sensible. For example, the file
 * transfer tools (psftp, pscp) can't do a great deal with protocol
 * selections (ever tried running scp over telnet?) or with port
 * forwarding (even if it wasn't a hideously bad idea, they don't
 * have the select() infrastructure to make them work).
 */
int cmdline_tooltype 0;

static 
int cmdline_check_unavailable(int flagchar *p)
{
    if (
cmdline_tooltype flag) {
    
cmdline_error("option \"%s\" not available in this tool"p);
    return 
1;
    }
    return 
0;
}

#define UNAVAILABLE_IN(flag) do { \
    
if (cmdline_check_unavailable(flagp)) return ret; \
} while (
0)

/*
 * Process a standard command-line parameter. `p' is the parameter
 * in question; `value' is the subsequent element of argv, which
 * may or may not be required as an operand to the parameter.
 * If `need_save' is 1, arguments which need to be saved as
 * described at this top of this file are, for later execution;
 * if 0, they are processed normally. (-1 is a special value used
 * by pterm to count arguments for a preliminary pass through the
 * argument list; it causes immediate return with an appropriate
 * value with no action taken.)
 * Return value is 2 if both arguments were used; 1 if only p was
 * used; 0 if the parameter wasn't one we recognised; -2 if it
 * should have been 2 but value was NULL.
 */

#define RETURN(x) do { \
    
if ((x) == && !value) return -2; \
    
ret x; \
    if (
need_save 0) return x; \
} while (
0)

int cmdline_process_param(char *pchar *valueint need_saveConfig *cfg)
{
    
int ret 0;

    if (!
strcmp(p"-load")) {
    RETURN(
2);
    
/* This parameter must be processed immediately rather than being
     * saved. */
    
do_defaults(valuecfg);
    
loaded_session TRUE;
    
cmdline_session_name dupstr(value);
    return 
2;
    }
    if (!
strcmp(p"-ssh")) {
    RETURN(
1);
    
UNAVAILABLE_IN(TOOLTYPE_FILETRANSFER TOOLTYPE_NONNETWORK);
    
SAVEABLE(0);
    
default_protocol cfg->protocol PROT_SSH;
    
default_port cfg->port 22;
    return 
1;
    }
    if (!
strcmp(p"-telnet")) {
    RETURN(
1);
    
UNAVAILABLE_IN(TOOLTYPE_FILETRANSFER TOOLTYPE_NONNETWORK);
    
SAVEABLE(0);
    
default_protocol cfg->protocol PROT_TELNET;
    
default_port cfg->port 23;
    return 
1;
    }
    if (!
strcmp(p"-rlogin")) {
    RETURN(
1);
    
UNAVAILABLE_IN(TOOLTYPE_FILETRANSFER TOOLTYPE_NONNETWORK);
    
SAVEABLE(0);
    
default_protocol cfg->protocol PROT_RLOGIN;
    
default_port cfg->port 513;
    return 
1;
    }
    if (!
strcmp(p"-raw")) {
    RETURN(
1);
    
UNAVAILABLE_IN(TOOLTYPE_FILETRANSFER TOOLTYPE_NONNETWORK);
    
SAVEABLE(0);
    
default_protocol cfg->protocol PROT_RAW;
    }
    if (!
strcmp(p"-serial")) {
    RETURN(
1);
    
/* Serial is not NONNETWORK in an odd sense of the word */
    
UNAVAILABLE_IN(TOOLTYPE_FILETRANSFER TOOLTYPE_NONNETWORK);
    
SAVEABLE(0);
    
default_protocol cfg->protocol PROT_SERIAL;
    
/* The host parameter will already be loaded into cfg->host, so copy it across */
    
strncpy(cfg->serlinecfg->hostsizeof(cfg->serline) - 1);
    
cfg->serline[sizeof(cfg->serline) - 1] = '\0';
    }
    if (!
strcmp(p"-v")) {
    RETURN(
1);
    
flags |= FLAG_VERBOSE;
    }
    if (!
strcmp(p"-l")) {
    RETURN(
2);
    
UNAVAILABLE_IN(TOOLTYPE_NONNETWORK);
    
SAVEABLE(0);
    
strncpy(cfg->usernamevaluesizeof(cfg->username));
    
cfg->username[sizeof(cfg->username) - 1] = '\0';
    }
    if (!
strcmp(p"-loghost")) {
    RETURN(
2);
    
UNAVAILABLE_IN(TOOLTYPE_NONNETWORK);
    
SAVEABLE(0);
    
strncpy(cfg->loghostvaluesizeof(cfg->loghost));
    
cfg->loghost[sizeof(cfg->loghost) - 1] = '\0';
    }
    if ((!
strcmp(p"-L") || !strcmp(p"-R") || !strcmp(p"-D"))) {
    
char *fwd, *ptr, *q, *qq;
    
int dynamici=0;
    RETURN(
2);
    
UNAVAILABLE_IN(TOOLTYPE_FILETRANSFER TOOLTYPE_NONNETWORK);
    
SAVEABLE(0);
    
dynamic = !strcmp(p"-D");
    
fwd value;
    
ptr cfg->portfwd;
    
/* if existing forwards, find end of list */
    
while (*ptr) {
        while (*
ptr)
        
ptr++;
        
ptr++;
    }
    
ptr cfg->portfwd;
    
ptr[0] = p[1];  /* insert a 'L', 'R' or 'D' at the start */
    
ptr++;
    if (
strlen(fwd) + sizeof(cfg->portfwd) - i) {
        
cmdline_error("out of space for port forwardings");
        return 
ret;
    }
    
strncpy(ptrfwdsizeof(cfg->portfwd) - 2);
    if (!
dynamic) {
        
/*
         * We expect _at least_ two colons in this string. The
         * possible formats are `sourceport:desthost:destport',
         * or `sourceip:sourceport:desthost:destport' if you're
         * specifying a particular loopback address. We need to
         * replace the one between source and dest with a \t;
         * this means we must find the second-to-last colon in
         * the string.
         */
        
qq strchr(ptr':');
        while (
qq) {
        
char *qqq strchr(qq+1':');
        if (
qqq)
            
qq;
        
qq qqq;
        }
        if (
q) *'\t';           /* replace second-last colon with \t */
    
}
    
cfg->portfwd[sizeof(cfg->portfwd) - 1] = '\0';
    
cfg->portfwd[sizeof(cfg->portfwd) - 2] = '\0';
    
ptr[strlen(ptr)+1] = '\000';    /* append 2nd '\000' */
    
}
    if ((!
strcmp(p"-nc"))) {
    
char *host, *portp;

    RETURN(
2);
    
UNAVAILABLE_IN(TOOLTYPE_FILETRANSFER TOOLTYPE_NONNETWORK);
    
SAVEABLE(0);

    
host portp value;
    while (*
portp && *portp != ':')
        
portp++;
    if (*
portp) {
        
unsigned len portp host;
        if (
len >= sizeof(cfg->ssh_nc_host))
        
len sizeof(cfg->ssh_nc_host) - 1;
        
memcpy(cfg->ssh_nc_hostvaluelen);
        
cfg->ssh_nc_host[len] = '\0';
        
cfg->ssh_nc_port atoi(portp+1);
    } else {
        
cmdline_error("-nc expects argument of form 'host:port'");
        return 
ret;
    }
    }
    if (!
strcmp(p"-m")) {
    
char *filename, *command;
    
int cmdlencmdsize;
    
FILE *fp;
    
int cd;

    RETURN(
2);
    
UNAVAILABLE_IN(TOOLTYPE_FILETRANSFER TOOLTYPE_NONNETWORK);
    
SAVEABLE(0);

    
filename value;

    
cmdlen cmdsize 0;
    
command NULL;
    
fp fopen(filename"r");
    if (!
fp) {
        
cmdline_error("unable to open command "
              "file \"%s\""
filename);
        return 
ret;
    }
    do {
        
fgetc(fp);
        
c;
        if (
== EOF)
        
0;
        if (
cmdlen >= cmdsize) {
        
cmdsize cmdlen 512;
        
command sresize(commandcmdsizechar);
        }
        
command[cmdlen++] = d;
    } while (
!= EOF);
    
cfg->remote_cmd_ptr command;
    
cfg->remote_cmd_ptr2 NULL;
    
cfg->nopty TRUE;      /* command => no terminal */
    
fclose(fp);
    }
    if (!
strcmp(p"-P")) {
    RETURN(
2);
    
UNAVAILABLE_IN(TOOLTYPE_NONNETWORK);
    
SAVEABLE(1);               /* lower priority than -ssh,-telnet */
    
cfg->port atoi(value);
    }
    if (!
strcmp(p"-pw")) {
    RETURN(
2);
    
UNAVAILABLE_IN(TOOLTYPE_NONNETWORK);
    
SAVEABLE(1);
    
/* We delay evaluating this until after the protocol is decided,
     * so that we can warn if it's of no use with the selected protocol */
    
if (cfg->protocol != PROT_SSH)
        
cmdline_error("the -pw option can only be used with the "
              "SSH protocol"
);
    else {
        
cmdline_password dupstr(value);
        
/* Assuming that `value' is directly from argv, make a good faith
         * attempt to trample it, to stop it showing up in `ps' output
         * on Unix-like systems. Not guaranteed, of course. */
        
memset(value0strlen(value));
    }
    }

    if (!
strcmp(p"-servername")) {
        RETURN(
2);
        
UNAVAILABLE_IN(TOOLTYPE_NONNETWORK);
        
SAVEABLE(1);
        
window_namenewname dupstr(value);
        
memset(value0strlen(value));
    }

    if (!
strcmp(p"-hideip")) {
        RETURN(
2);
        
UNAVAILABLE_IN(TOOLTYPE_NONNETWORK);
        
SAVEABLE(1);
        
hideip 1;
        
memset(value0strlen(value));
    }

    if (!
strcmp(p"-agent") || !strcmp(p"-pagent") ||
    !
strcmp(p"-pageant")) {
    RETURN(
1);
    
UNAVAILABLE_IN(TOOLTYPE_NONNETWORK);
    
SAVEABLE(0);
    
cfg->tryagent TRUE;
    }
    if (!
strcmp(p"-noagent") || !strcmp(p"-nopagent") ||
    !
strcmp(p"-nopageant")) {
    RETURN(
1);
    
UNAVAILABLE_IN(TOOLTYPE_NONNETWORK);
    
SAVEABLE(0);
    
cfg->tryagent FALSE;
    }

    if (!
strcmp(p"-A")) {
    RETURN(
1);
    
UNAVAILABLE_IN(TOOLTYPE_FILETRANSFER TOOLTYPE_NONNETWORK);
    
SAVEABLE(0);
    
cfg->agentfwd 1;
    }
    if (!
strcmp(p"-a")) {
    RETURN(
1);
    
UNAVAILABLE_IN(TOOLTYPE_FILETRANSFER TOOLTYPE_NONNETWORK);
    
SAVEABLE(0);
    
cfg->agentfwd 0;
    }

    if (!
strcmp(p"-X")) {
    RETURN(
1);
    
UNAVAILABLE_IN(TOOLTYPE_FILETRANSFER TOOLTYPE_NONNETWORK);
    
SAVEABLE(0);
    
cfg->x11_forward 1;
    }
    if (!
strcmp(p"-x")) {
    RETURN(
1);
    
UNAVAILABLE_IN(TOOLTYPE_FILETRANSFER TOOLTYPE_NONNETWORK);
    
SAVEABLE(0);
    
cfg->x11_forward 0;
    }

    if (!
strcmp(p"-t")) {
    RETURN(
1);
    
UNAVAILABLE_IN(TOOLTYPE_FILETRANSFER TOOLTYPE_NONNETWORK);
    
SAVEABLE(1);    /* lower priority than -m */
    
cfg->nopty 0;
    }
    if (!
strcmp(p"-T")) {
    RETURN(
1);
    
UNAVAILABLE_IN(TOOLTYPE_FILETRANSFER TOOLTYPE_NONNETWORK);
    
SAVEABLE(1);
    
cfg->nopty 1;
    }

    if (!
strcmp(p"-N")) {
    RETURN(
1);
    
UNAVAILABLE_IN(TOOLTYPE_FILETRANSFER TOOLTYPE_NONNETWORK);
    
SAVEABLE(0);
    
cfg->ssh_no_shell 1;
    }

    if (!
strcmp(p"-C")) {
    RETURN(
1);
    
UNAVAILABLE_IN(TOOLTYPE_NONNETWORK);
    
SAVEABLE(0);
    
cfg->compression 1;
    }

    if (!
strcmp(p"-1")) {
    RETURN(
1);
    
UNAVAILABLE_IN(TOOLTYPE_NONNETWORK);
    
SAVEABLE(0);
    
cfg->sshprot 0;           /* ssh protocol 1 only */
    
}
    if (!
strcmp(p"-2")) {
    RETURN(
1);
    
UNAVAILABLE_IN(TOOLTYPE_NONNETWORK);
    
SAVEABLE(0);
    
cfg->sshprot 3;           /* ssh protocol 2 only */
    
}

    if (!
strcmp(p"-i")) {
    RETURN(
2);
    
UNAVAILABLE_IN(TOOLTYPE_NONNETWORK);
    
SAVEABLE(0);
    
cfg->keyfile filename_from_str(value);
    }

    if (!
strcmp(p"-4") || !strcmp(p"-ipv4")) {
    RETURN(
1);
    
SAVEABLE(1);
    
cfg->addressfamily ADDRTYPE_IPV4;
    }
    if (!
strcmp(p"-6") || !strcmp(p"-ipv6")) {
    RETURN(
1);
    
SAVEABLE(1);
    
cfg->addressfamily ADDRTYPE_IPV6;
    }
    if (!
strcmp(p"-sercfg")) {
    
charnextitem;
    RETURN(
2);
    
UNAVAILABLE_IN(TOOLTYPE_FILETRANSFER TOOLTYPE_NONNETWORK);
    
SAVEABLE(1);
    if (
cfg->protocol != PROT_SERIAL)
        
cmdline_error("the -sercfg option can only be used with the "
              "serial protocol"
);
    
/* Value[0] contains one or more , separated values, like 19200,8,n,1,X */
    
nextitem value;
    while (
nextitem[0] != '\0') {
        
int lengthskip;
        
char *end strchr(nextitem',');
        if (!
end) {
        
length strlen(nextitem);
        
skip 0;
        } else {
        
length end nextitem;
        
nextitem[length] = '\0';
        
skip 1;
        }
        if (
length == 1) {
        switch (*
nextitem) {
          case 
'1':
            
cfg->serstopbits 2;
            break;
          case 
'2':
            
cfg->serstopbits 4;
            break;

          case 
'5':
            
cfg->serdatabits 5;
            break;
          case 
'6':
            
cfg->serdatabits 6;
            break;
          case 
'7':
            
cfg->serdatabits 7;
            break;
          case 
'8':
            
cfg->serdatabits 8;
            break;
          case 
'9':
            
cfg->serdatabits 9;
            break;

          case 
'n':
            
cfg->serparity SER_PAR_NONE;
            break;
          case 
'o':
            
cfg->serparity SER_PAR_ODD;
            break;
          case 
'e':
            
cfg->serparity SER_PAR_EVEN;
            break;
          case 
'm':
            
cfg->serparity SER_PAR_MARK;
            break;
          case 
's':
            
cfg->serparity SER_PAR_SPACE;
            break;

          case 
'N':
            
cfg->serflow SER_FLOW_NONE;
            break;
          case 
'X':
            
cfg->serflow SER_FLOW_XONXOFF;
            break;
          case 
'R':
            
cfg->serflow SER_FLOW_RTSCTS;
            break;
          case 
'D':
            
cfg->serflow SER_FLOW_DSRDTR;
            break;

          default:
            
cmdline_error("Unrecognised suboption \"-sercfg %c\"",
                  *
nextitem);
        }
        } else if (
length == && !strncmp(nextitem,"1.5",3)) {
        
/* Messy special case */
        
cfg->serstopbits 3;
        } else {
        
int serspeed atoi(nextitem);
        if (
serspeed != 0) {
            
cfg->serspeed serspeed;
        } else {
            
cmdline_error("Unrecognised suboption \"-sercfg %s\"",
                  
nextitem);
        }
        }
        
nextitem += length skip;
    }
    }
    return 
ret;                   /* unrecognised */
}

void cmdline_run_saved(Config *cfg)
{
    
int prii;
    for (
pri 0pri NPRIORITIESpri++)
    for (
0saves[pri].nsavedi++)
        
cmdline_process_param(saves[pri].params[i].p,
                  
saves[pri].params[i].value0cfg);



Du bist in meinen Augen auch unnötig...
Ich verweise dich gerne auf den 2ten Post hier in diesem Thread


Und wenn zur hölle interessiert es ob du deine PWs auswendig kannst oder nicht?

Ich wiederholle nochmal (Das letzte mal war es auf dem Ug Ts):
Hör auf deine unnötigen Kommentare in den Posts von Desko
oder mir zu verbtreiten.

Ich zitiere xCPx:

- Ich lach mir einfach immer den Arsch ab auf Epvp.

Pure provokation...

Der Punkt ist der:
- Wenn du es nicht gebrauchen kannst und unnötig findest.
Dann lass es einfach sein.
Niemand zwingt dich es zu verwenden.

Gruss
Sphinx
Also darf man seine Sichtweiße nichtmal mehr belegen bei dir, ohne dass du es als Feindlich Gesinnt aufnimmst oO?
Weil ich halte mich daran dich bzw euch nicht zu beleidigen, du scheinbar nicht also joa xD Dann kann ich ja auch wd anfangen :P
xCPx is offline  
Thanks
3 Users
Old 10/08/2012, 14:34   #42

 
xXKimariXx's Avatar
 
elite*gold: 5
Join Date: Aug 2011
Posts: 1,130
Received Thanks: 512
Quote:
1. Uninteressant
2. Spam(Keine Kritik,kein Feedback sondern einfach nur Müll)
3. Allein aufgrund deines Namen's einfach nur
Aber du nennst dich selber "Awesome"

Ziemlich eingebildet oder?

*Ironie On* Ich bin Awesome und hab den längsten Epvp Sch.... *Ironie Off*
xXKimariXx is offline  
Thanks
2 Users
Old 10/08/2012, 14:48   #43
 
[Hades]'s Avatar
 
elite*gold: 215
Join Date: May 2012
Posts: 480
Received Thanks: 1,226
Quote:
Originally Posted by xXKimariXx View Post
Aber du nennst dich selber "Awesome"

Ziemlich eingebildet oder?

*Ironie On* Ich bin Awesome und hab den längsten Epvp Sch.... *Ironie Off*
Er hat auch den längsten ôÔ warum gehst du eig. auf die Penislänge? Komplexe odr was?
[Hades] is offline  
Thanks
5 Users
Old 10/08/2012, 14:58   #44
 
PeterWaschLabaschsdu's Avatar
 
elite*gold: 0
Join Date: Mar 2012
Posts: 226
Received Thanks: 314
Quote:
Originally Posted by .iHades' View Post
Er hat auch den längsten ôÔ warum gehst du eig. auf die Penislänge? Komplexe odr was?
o:O hast du bei ihm nachgeschaut?
PeterWaschLabaschsdu is offline  
Thanks
5 Users
Old 10/08/2012, 19:06   #45
 
.Aza''s Avatar
 
elite*gold: 0
The Black Market: 110/0/3
Join Date: Jan 2012
Posts: 7,868
Received Thanks: 7,712
Quote:
Originally Posted by PeterWaschLabaschsdu View Post
o:O hast du bei ihm nachgeschaut?
Von sowas kann man ausgehen Aber naja... Awesoome hat eh schon alles zu deinen Beiträgen gesagt. Und wenn man sich all deine Beiträge anschaut, merkt man das es bei dir anscheinent echt standart ist irgendwelchen Spam zu verbreiten.

Ich frag mich sowieso warum hier noch soviel gespamt wird. Er hat doch gezwungener Maßen den Source releasd. Nur damit Leute wie Esozial und SoNiice zufrieden und ruhig sind.
Ihr habt doch alles was ihr wollt. Also sucht euch Hobbys und geht die nach anstatt hier zu spamen und zu zeigen wie geil ihr seid.
.Aza' is offline  
Thanks
8 Users
Reply

Tags
metin2, mt2, mt3, putty, underground


Similar Threads Similar Threads
List of alll commands for latest version ? (5521)
08/18/2011 - CO2 Private Server - 5 Replies
that commands like @item blah blah blah and the commands to make souls / items like stones and other stuff and thanks so much :handsdown:
[PUTTY][HELP]Bester Putty Verwalter
08/21/2010 - Metin2 Private Server - 2 Replies
was ist das beste Putty Programm? Natürlich freeware und wenn es geht mit download
[Release]Putty Verknüpfungen
07/02/2010 - Metin2 PServer Guides & Strategies - 32 Replies
Hallo liebe Community! Heute release ich meine Putty Verknüpfungen. Vorweg: Es funktioniert NUR, wenn die Serverfiles im Pfad /home/game sind! Hier meine bisherigen Verknüpfungen: - ./start = Startet den Server, man muss nicht extra ins Serververzeichniss wechseln und z.B sh start.sh eingeben!



All times are GMT +2. The time now is 10:19.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.